Home
last modified time | relevance | path

Searched refs:algotype (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dsha2.h63 uint32_t algotype; /* Algorithm Type */ member
/titanic_41/usr/src/common/crypto/sha2/
H A Dsha2.c727 ctx->algotype = (uint32_t)mech; in SHA2Init()
770 uint32_t algotype = ctx->algotype; in SHA2Update() local
780 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
822 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) in SHA2Update()
831 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
842 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
896 uint32_t algotype = ctx->algotype; in SHA2Final() local
898 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Final()
911 if (algotype <= SHA384_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Final()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c380 if (((sha2_ctx->algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_uio()
382 ((sha2_ctx->algotype > SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_uio()
523 if (((sha2_ctx->algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_mblk()
525 ((sha2_ctx->algotype > SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_mblk()