Searched refs:cc_provider_private (Results 1 – 4 of 4) sorted by relevance
39 #define PROV_SHA2_CTX(ctx) ((sha2_ctx_t *)(ctx)->cc_provider_private)40 #define PROV_SHA2_HMAC_CTX(ctx) ((sha2_hmac_ctx_t *)(ctx)->cc_provider_private)387 ctx->cc_provider_private = in sha2_mac_init()389 if (ctx->cc_provider_private == NULL) in sha2_mac_init()401 sha2_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; in sha2_mac_init()420 memset(ctx->cc_provider_private, 0, sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()421 kmem_free(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()422 ctx->cc_provider_private = NULL; in sha2_mac_init()433 ASSERT(ctx->cc_provider_private != NULL); in sha2_mac_update()463 ASSERT(ctx->cc_provider_private != NULL); in sha2_mac_final()[all …]
422 aes_ctx_t *aes_ctx = ctx->cc_provider_private; in aes_free_context()433 ctx->cc_provider_private = NULL; in aes_free_context()
61 ctx->cc_provider_private = NULL; in kcf_new_ctx()83 if (gctx->cc_provider_private != NULL) { in kcf_free_context()
65 void *cc_provider_private; /* owned by provider */ member