Home
last modified time | relevance | path

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

/titanic_44/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) macro
952 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init()
955 bcopy(ctx_template, PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()
971 sha2_mac_init_ctx(PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()
974 sha2_mac_init_ctx(PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()
987 PROV_SHA2_HMAC_CTX(ctx)->hc_digest_len); in sha2_mac_init()
988 if (PROV_SHA2_HMAC_CTX(ctx)->hc_digest_len > sha_digest_len) in sha2_mac_init()
1016 SHA2Update(&PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, in sha2_mac_update()
1022 &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, data); in sha2_mac_update()
1026 &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, data); in sha2_mac_update()
[all …]