Searched refs:kcf_ctx (Results 1 – 5 of 5) sorted by relevance
473 kcf_context_t *kcf_ctx; in crypto_encrypt_update() local497 kcf_ctx->kc_sw_prov_desc != NULL && in crypto_encrypt_update()499 pd = kcf_ctx->kc_sw_prov_desc; in crypto_encrypt_update()533 kcf_context_t *kcf_ctx; in crypto_encrypt_final() local557 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); in crypto_encrypt_final()756 kcf_context_t *kcf_ctx; in crypto_decrypt_update() local780 kcf_ctx->kc_sw_prov_desc != NULL && in crypto_decrypt_update()782 pd = kcf_ctx->kc_sw_prov_desc; in crypto_decrypt_update()816 kcf_context_t *kcf_ctx; in crypto_decrypt_final() local853 kcf_context_t *kcf_ctx; in crypto_encrypt_single() local[all …]
335 kcf_context_t *kcf_ctx; in crypto_digest_update() local341 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_digest_update()342 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_digest_update()384 kcf_context_t *kcf_ctx; in crypto_digest_final() local391 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_digest_final()408 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); in crypto_digest_final()421 kcf_context_t *kcf_ctx; in crypto_digest_key_prov() local428 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_digest_key_prov()455 kcf_context_t *kcf_ctx; in crypto_digest_single() local462 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_digest_single()[all …]
522 kcf_context_t *kcf_ctx; in crypto_mac_update() local528 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_mac_update()529 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_mac_update()571 kcf_context_t *kcf_ctx; in crypto_mac_final() local577 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_mac_final()578 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_mac_final()595 KCF_CONTEXT_COND_RELEASE(rv, kcf_ctx); in crypto_mac_final()607 kcf_context_t *kcf_ctx; in crypto_mac_single() local614 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_mac_single()615 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_mac_single()[all …]
90 kcf_context_t *kcf_ctx; in kcf_new_ctx() local94 if (kcf_ctx == NULL) in kcf_new_ctx()98 kcf_ctx->kc_refcnt = 1; in kcf_new_ctx()100 kcf_ctx->kc_req_chain_last = NULL; in kcf_new_ctx()101 kcf_ctx->kc_secondctx = NULL; in kcf_new_ctx()103 kcf_ctx->kc_prov_desc = pd; in kcf_new_ctx()104 kcf_ctx->kc_sw_prov_desc = NULL; in kcf_new_ctx()105 kcf_ctx->kc_mech = NULL; in kcf_new_ctx()107 ctx = &kcf_ctx->kc_glbl_ctx; in kcf_new_ctx()608 kcf_context_t *kcf_ctx; in kcf_submit_request() local[all …]
339 #define KCF_CONTEXT_COND_RELEASE(rv, kcf_ctx) { \ argument341 KCF_CONTEXT_REFRELE(kcf_ctx); \