Searched refs:hc_mech_type (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2_impl.h54 sha2_mech_type_t hc_mech_type; /* type of context */ member in struct:sha2_hmac_ctx
/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1_impl.h63 sha1_mech_type_t hc_mech_type; /* type of context */ member in struct:sha1_hmac_ctx
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c883 if (ctx->hc_mech_type <= SHA256_HMAC_GEN_MECH_INFO_TYPE) {
903 SHA2Init(ctx->hc_mech_type, &ctx->hc_icontext);
907 SHA2Init(ctx->hc_mech_type, &ctx->hc_ocontext);
952 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type;
1046 switch (PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type) {
1197 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type;
1339 sha2_hmac_ctx.hc_mech_type = mechanism->cm_type;
1561 sha2_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type;
H A Dmd5_mod.c100 md5_mech_type_t hc_mech_type; /* type of context */ member in struct:md5_hmac_ctx
949 PROV_MD5_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type;
1014 if (PROV_MD5_HMAC_CTX(ctx)->hc_mech_type == MD5_HMAC_GEN_MECH_INFO_TYPE)
1465 md5_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type;
H A Dsha1_mod.c892 PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type;
956 if (PROV_SHA1_HMAC_CTX(ctx)->hc_mech_type ==
1407 sha1_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type;

Completed in 489 milliseconds