Searched refs:algotype (Results 1 – 3 of 3) sorted by relevance
84 int algotype; member115 extern void SHA2Init(int algotype, SHA2_CTX *ctx);
398 SHA2Init(int algotype, SHA2_CTX *ctx) in SHA2Init() argument403 ASSERT3S(algotype, >=, SHA256_MECH_INFO_TYPE); in SHA2Init()404 ASSERT3S(algotype, <=, SHA512_256_MECH_INFO_TYPE); in SHA2Init()407 ctx->algotype = algotype; in SHA2Init()408 switch (ctx->algotype) { in SHA2Init()492 switch (ctx->algotype) { in SHA2Update()521 switch (ctx->algotype) { in SHA2Final()
300 if (((sha2_ctx->algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_uio()302 ((sha2_ctx->algotype > SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_uio()