Home
last modified time | relevance | path

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

/titanic_41/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)
876 sha2_mac_init_ctx(sha2_hmac_ctx_t *ctx, void *keyval, uint_t length_in_bytes) in sha2_mac_init_ctx()
947 ctx->cc_provider_private = kmem_alloc(sizeof (sha2_hmac_ctx_t), in sha2_mac_init()
956 sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()
961 sha2_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; in sha2_mac_init()
993 bzero(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()
994 kmem_free(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_init()
1129 bzero(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_final()
1130 kmem_free(ctx->cc_provider_private, sizeof (sha2_hmac_ctx_t)); in sha2_mac_final()
1164 sha2_hmac_ctx_t sha2_hmac_ctx; in sha2_mac_atomic()
[all …]
/titanic_41/usr/src/common/crypto/sha2/
H A Dsha2_impl.h58 } sha2_hmac_ctx_t; typedef