Searched refs:PROV_SHA2_HMAC_CTX (Results 1 – 1 of 1) sorted by relevance
40 #define PROV_SHA2_HMAC_CTX(ctx) ((sha2_hmac_ctx_t *)(ctx)->cc_provider_private) macro392 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init()395 memcpy(PROV_SHA2_HMAC_CTX(ctx), ctx_template, in sha2_mac_init()411 sha2_mac_init_ctx(PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()414 sha2_mac_init_ctx(PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()441 SHA2Update(&PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, in sha2_mac_update()447 &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext, data); in sha2_mac_update()466 switch (PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type) { in sha2_mac_final()486 SHA2Final(digest, &PROV_SHA2_HMAC_CTX(ctx)->hc_icontext); in sha2_mac_final()492 SHA2Update(&PROV_SHA2_HMAC_CTX(ctx)->hc_ocontext, digest, in sha2_mac_final()[all …]