Home
last modified time | relevance | path

Searched refs:kcf_context_t (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_digest.c259 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_digest_init_prov()
340 kcf_context_t *kcf_ctx; in crypto_digest_update()
346 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_digest_update()
389 kcf_context_t *kcf_ctx; in crypto_digest_final()
395 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_digest_final()
426 kcf_context_t *kcf_ctx; in crypto_digest_key_prov()
432 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_digest_key_prov()
460 kcf_context_t *kcf_ctx; in crypto_digest_single()
466 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_digest_single()
H A Dkcf_cipher.c165 kcf_context_t *tctxp = (kcf_context_t *)ctx; in crypto_cipher_init_prov()
217 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_cipher_init_prov()
477 kcf_context_t *kcf_ctx; in crypto_encrypt_update()
483 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_encrypt_update()
537 kcf_context_t *kcf_ctx; in crypto_encrypt_final()
543 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_encrypt_final()
759 kcf_context_t *kcf_ctx; in crypto_decrypt_update()
765 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_decrypt_update()
819 kcf_context_t *kcf_ctx; in crypto_decrypt_final()
825 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_decrypt_final()
[all …]
H A Dkcf_sign.c84 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_sign_init_prov()
150 kcf_context_t *kcf_ctx; in crypto_sign_single()
156 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_sign_single()
178 kcf_context_t *kcf_ctx; in crypto_sign_update()
184 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_sign_update()
205 kcf_context_t *kcf_ctx; in crypto_sign_final()
211 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_sign_final()
424 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_sign_recover_init_prov()
435 kcf_context_t *kcf_ctx; in crypto_sign_recover_single()
441 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_sign_recover_single()
H A Dkcf_verify.c84 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_verify_init_prov()
151 kcf_context_t *kcf_ctx; in crypto_verify_single()
157 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_verify_single()
180 kcf_context_t *kcf_ctx; in crypto_verify_update()
186 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_verify_update()
207 kcf_context_t *kcf_ctx; in crypto_verify_final()
213 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_verify_final()
426 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_verify_recover_init_prov()
437 kcf_context_t *kcf_ctx; in crypto_verify_recover_single()
443 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_verify_recover_single()
H A Dkcf_dual.c434 kcf_context_t *encr_kcf_context = NULL; in crypto_encrypt_mac_init_prov()
492 encr_kcf_context = (kcf_context_t *)ctx->cc_framework_private; in crypto_encrypt_mac_init_prov()
574 kcf_context_t *encr_kcf_context = NULL, *mac_kcf_context; in crypto_encrypt_mac_init()
649 encr_kcf_context = (kcf_context_t *) in crypto_encrypt_mac_init()
682 KCF_CONTEXT_REFRELE((kcf_context_t *) in crypto_encrypt_mac_init()
691 encr_kcf_context = (kcf_context_t *) in crypto_encrypt_mac_init()
719 encr_kcf_context = (kcf_context_t *) in crypto_encrypt_mac_init()
721 mac_kcf_context = (kcf_context_t *) in crypto_encrypt_mac_init()
809 encr_kcf_context = (kcf_context_t *)ctx->cc_framework_private; in crypto_encrypt_mac_init()
871 kcf_context_t *kcf_ctx, *kcf_mac_ctx; in crypto_encrypt_mac_update()
[all …]
H A Dkcf_mac.c422 KCF_CONTEXT_REFRELE((kcf_context_t *)ctx->cc_framework_private); in crypto_mac_init_prov()
526 kcf_context_t *kcf_ctx; in crypto_mac_update()
532 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_mac_update()
575 kcf_context_t *kcf_ctx; in crypto_mac_final()
581 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_mac_final()
611 kcf_context_t *kcf_ctx; in crypto_mac_single()
618 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || in crypto_mac_single()
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c93 kcf_context_t *, crypto_call_req_t *, kcf_req_params_t *, boolean_t);
115 kcf_context_t *kcf_ctx; in kcf_new_ctx()
151 kcf_areqnode_alloc(kcf_provider_desc_t *pd, kcf_context_t *ictx, in kcf_areqnode_alloc()
298 kcf_context_t *ictx; in process_req_hwp()
498 kcf_context_t *ictx; in kcf_resubmit_request()
602 kcf_context_t *kcf_ctx; in kcf_submit_request()
606 kcf_ctx = ctx ? (kcf_context_t *)ctx->cc_framework_private : NULL; in kcf_submit_request()
816 kcf_free_context(kcf_context_t *kcf_ctx) in kcf_free_context()
820 kcf_context_t *kcf_secondctx = kcf_ctx->kc_secondctx; in kcf_free_context()
878 kcf_removereq_in_ctxchain(kcf_context_t *ictx, kcf_areq_node_t *areq) in kcf_removereq_in_ctxchain()
[all …]
H A Dkcf_callprov.c1175 kcf_context_t *kcf_secondctx; in common_submit_request()
1179 kcf_secondctx = ((kcf_context_t *) in common_submit_request()
1209 kcf_secondctx = ((kcf_context_t *) in common_submit_request()
1220 kcf_secondctx = ((kcf_context_t *) in common_submit_request()
1260 kcf_context_t *kcf_secondctx; in common_submit_request()
1264 kcf_secondctx = ((kcf_context_t *) in common_submit_request()
1294 kcf_secondctx = ((kcf_context_t *) in common_submit_request()
1305 kcf_secondctx = ((kcf_context_t *) in common_submit_request()
1671 kcf_context_t *encr_kcf_ctx; in kcf_emulate_dual()
1675 encr_kcf_ctx = (kcf_context_t *)(ctx->cc_framework_private); in kcf_emulate_dual()
[all …]
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dsched_impl.h309 } kcf_context_t; typedef
505 extern void kcf_free_context(kcf_context_t *);