Searched defs:PROV_SHA2_HMAC_CTX (Results 1 - 1 of 1) 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) macro
952 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type;
955 bcopy(ctx_template, PROV_SHA2_HMAC_CTX(ctx),
971 sha2_mac_init_ctx(PROV_SHA2_HMAC_CTX(ctx),
974 sha2_mac_init_ctx(PROV_SHA2_HMAC_CTX(ctx),
987 PROV_SHA2_HMAC_CTX(ctx)->hc_digest_len);
988 if (PROV_SHA2_HMAC_CTX(ctx)->hc_digest_len > sha_digest_len)
1016 SHA2Update(&PROV_SHA2_HMAC_CTX(ctx)->hc_icontext,
1022 &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, data);
1026 &PROV_SHA2_HMAC_CTX(ct
[all...]

Completed in 54 milliseconds