Home
last modified time | relevance | path

Searched refs:cc_provider_private (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c39 #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 …]
H A Daes.c422 aes_ctx_t *aes_ctx = ctx->cc_provider_private; in aes_free_context()
433 ctx->cc_provider_private = NULL; in aes_free_context()
/freebsd/sys/contrib/openzfs/module/icp/core/
H A Dkcf_sched.c61 ctx->cc_provider_private = NULL; in kcf_new_ctx()
83 if (gctx->cc_provider_private != NULL) { in kcf_free_context()
/freebsd/sys/contrib/openzfs/module/icp/include/sys/crypto/
H A Dspi.h65 void *cc_provider_private; /* owned by provider */ member