Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/sha2/
H A Dsha2.c750 ctx->algotype = (uint32_t)mech; in SHA2Init()
793 uint32_t algotype = ctx->algotype; in SHA2Update() local
803 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
845 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) in SHA2Update()
854 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
865 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
919 uint32_t algotype = ctx->algotype; in SHA2Final() local
921 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Final()
933 if (algotype <= SHA384_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Final()
937 } else if (algotype == SHA512_224_MECH_INFO_TYPE) { in SHA2Final()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dsha2.h70 uint32_t algotype; /* Algorithm Type */ member
/titanic_50/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()