Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/icp/include/sha2/
H A Dsha2_impl.h54 sha2_mech_type_t hc_mech_type; /* type of context */ member
/f-stack/freebsd/contrib/openzfs/module/icp/include/sha1/
H A Dsha1_impl.h62 sha1_mech_type_t hc_mech_type; /* type of context */ member
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c725 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()
H A Dsha1_mod.c736 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()