Searched refs:hc_mech_type (Results 1 – 4 of 4) sorted by relevance
54 sha2_mech_type_t hc_mech_type; /* type of context */ member
62 sha1_mech_type_t hc_mech_type; /* type of context */ member
725 if (ctx->hc_mech_type <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in sha2_mac_init_ctx()745 SHA2Init(ctx->hc_mech_type, &ctx->hc_icontext); in sha2_mac_init_ctx()749 SHA2Init(ctx->hc_mech_type, &ctx->hc_ocontext); in sha2_mac_init_ctx()794 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init()884 switch (PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type) { in sha2_mac_final()1028 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_atomic()1166 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_verify_atomic()1348 sha2_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha2_create_ctx_template()
736 PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha1_mac_init()796 if (PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type == in sha1_mac_final()1194 sha1_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha1_create_ctx_template()