Home
last modified time | relevance | path

Searched refs:sha2_hmac_ctx_t (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c67 #define PROV_SHA2_HMAC_CTX(ctx) ((sha2_hmac_ctx_t *)(ctx)->cc_provider_private)
896 sha2_mac_init_ctx(sha2_hmac_ctx_t *ctx, void *keyval, uint_t length_in_bytes) in sha2_mac_init_ctx()
980 ctx->cc_provider_private = kmem_alloc(sizeof (sha2_hmac_ctx_t), in sha2_mac_init()
989 sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()
994 sha2_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; in sha2_mac_init()
1026 bzero(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()
1027 kmem_free(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()
1162 bzero(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_final()
1163 kmem_free(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_final()
1197 sha2_hmac_ctx_t sha2_hmac_ctx; in sha2_mac_atomic()
[all …]
/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2_impl.h58 } sha2_hmac_ctx_t; typedef