Home
last modified time | relevance | path

Searched refs:kcf_ctx (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_cipher.c473 kcf_context_t *kcf_ctx; in crypto_encrypt_update() local
497 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() local
557 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); in crypto_encrypt_final()
756 kcf_context_t *kcf_ctx; in crypto_decrypt_update() local
780 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() local
853 kcf_context_t *kcf_ctx; in crypto_encrypt_single() local
[all …]
H A Dkcf_digest.c335 kcf_context_t *kcf_ctx; in crypto_digest_update() local
341 ((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() local
391 ((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() local
428 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_digest_key_prov()
455 kcf_context_t *kcf_ctx; in crypto_digest_single() local
462 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { in crypto_digest_single()
[all …]
H A Dkcf_mac.c522 kcf_context_t *kcf_ctx; in crypto_mac_update() local
528 ((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() local
577 ((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() local
614 ((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 …]
/f-stack/freebsd/contrib/openzfs/module/icp/core/
H A Dkcf_sched.c90 kcf_context_t *kcf_ctx; in kcf_new_ctx() local
94 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 …]
/f-stack/freebsd/contrib/openzfs/module/icp/include/sys/crypto/
H A Dsched_impl.h339 #define KCF_CONTEXT_COND_RELEASE(rv, kcf_ctx) { \ argument
341 KCF_CONTEXT_REFRELE(kcf_ctx); \