Searched refs:hc_mech_type (Results 1 – 5 of 5) sorted by relevance
54 sha2_mech_type_t hc_mech_type; /* type of context */ member
63 sha1_mech_type_t hc_mech_type; /* type of context */ member
903 if (ctx->hc_mech_type <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in sha2_mac_init_ctx()923 SHA2Init(ctx->hc_mech_type, &ctx->hc_icontext); in sha2_mac_init_ctx()927 SHA2Init(ctx->hc_mech_type, &ctx->hc_ocontext); in sha2_mac_init_ctx()985 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init()1079 switch (PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type) { in sha2_mac_final()1230 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_atomic()1372 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type; in sha2_mac_verify_atomic()1594 sha2_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha2_create_ctx_template()
100 md5_mech_type_t hc_mech_type; /* type of context */ member949 PROV_MD5_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in md5_mac_init()1014 if (PROV_MD5_HMAC_CTX(ctx)->hc_mech_type == MD5_HMAC_GEN_MECH_INFO_TYPE) in md5_mac_final()1465 md5_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in md5_create_ctx_template()
895 PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha1_mac_init()928 if (PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type == in sha1_mac()1056 if (PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type == in sha1_mac_final()1507 sha1_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha1_create_ctx_template()