Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dsha2.h84 int algotype; member
115 extern void SHA2Init(int algotype, SHA2_CTX *ctx);
/freebsd-14.2/sys/contrib/openzfs/module/icp/algs/sha2/
H A Dsha2_generic.c398 SHA2Init(int algotype, SHA2_CTX *ctx) in SHA2Init() argument
403 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()
/freebsd-14.2/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c300 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()