Searched refs:kcf_ctx (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_cipher.c | 477 kcf_context_t *kcf_ctx; local 483 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 484 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 500 if (plaintext->cd_length < kcf_ctx->kc_mech->me_threshold && 501 kcf_ctx->kc_sw_prov_desc != NULL && 502 KCF_IS_PROV_USABLE(kcf_ctx->kc_sw_prov_desc)) { 503 pd = kcf_ctx->kc_sw_prov_desc; 537 kcf_context_t *kcf_ctx; local 543 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 544 ((pd = kcf_ctx 759 kcf_context_t *kcf_ctx; local 819 kcf_context_t *kcf_ctx; local 856 kcf_context_t *kcf_ctx; local 891 kcf_context_t *kcf_ctx; local [all...] |
H A D | kcf_digest.c | 340 kcf_context_t *kcf_ctx; local 346 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 347 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 389 kcf_context_t *kcf_ctx; local 395 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 396 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 413 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); 426 kcf_context_t *kcf_ctx; local 432 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 433 ((pd = kcf_ctx 460 kcf_context_t *kcf_ctx; local [all...] |
H A D | kcf_sign.c | 150 kcf_context_t *kcf_ctx; local 156 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 157 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 166 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); 178 kcf_context_t *kcf_ctx; local 184 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 185 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 205 kcf_context_t *kcf_ctx; local 211 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 212 ((pd = kcf_ctx 435 kcf_context_t *kcf_ctx; local [all...] |
H A D | kcf_verify.c | 151 kcf_context_t *kcf_ctx; local 157 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 158 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 167 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); 180 kcf_context_t *kcf_ctx; local 186 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 187 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 207 kcf_context_t *kcf_ctx; local 213 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 214 ((pd = kcf_ctx 437 kcf_context_t *kcf_ctx; local [all...] |
H A D | kcf_mac.c | 526 kcf_context_t *kcf_ctx; local 532 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 533 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 575 kcf_context_t *kcf_ctx; local 581 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 582 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 599 KCF_CONTEXT_COND_RELEASE(rv, kcf_ctx); 611 kcf_context_t *kcf_ctx; local 618 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 619 ((pd = kcf_ctx [all...] |
H A D | kcf_dual.c | 871 kcf_context_t *kcf_ctx, *kcf_mac_ctx; local 877 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 878 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 884 if ((kcf_mac_ctx = kcf_ctx->kc_secondctx) != NULL) { 974 kcf_context_t *kcf_ctx, *kcf_mac_ctx; local 980 ((kcf_ctx = (kcf_context_t *)ctx->cc_framework_private) == NULL) || 981 ((pd = kcf_ctx->kc_prov_desc) == NULL)) { 987 if ((kcf_mac_ctx = kcf_ctx->kc_secondctx) != NULL) { 1060 KCF_CONTEXT_COND_RELEASE(error, kcf_ctx); 1977 kcf_context_t *kcf_ctx, *kcf_mac_ct local 2067 kcf_context_t *kcf_ctx, *kcf_mac_ctx; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_sched.c | 115 kcf_context_t *kcf_ctx; local 117 kcf_ctx = kmem_cache_alloc(kcf_context_cache, 119 if (kcf_ctx == NULL) 123 kcf_ctx->kc_refcnt = 1; 124 kcf_ctx->kc_req_chain_first = NULL; 125 kcf_ctx->kc_req_chain_last = NULL; 126 kcf_ctx->kc_secondctx = NULL; 128 kcf_ctx->kc_prov_desc = pd; 129 kcf_ctx->kc_sw_prov_desc = NULL; 130 kcf_ctx 602 kcf_context_t *kcf_ctx; local 816 kcf_free_context(kcf_context_t *kcf_ctx) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | sched_impl.h | 346 #define KCF_CONTEXT_COND_RELEASE(rv, kcf_ctx) { \ 348 KCF_CONTEXT_REFRELE(kcf_ctx); \
|
Completed in 68 milliseconds