Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/algs/sha2/
H A Dsha2_generic.c398 SHA2Init(int algotype, SHA2_CTX *ctx) in SHA2Init() argument
403 ASSERT3S(algotype, >=, SHA512_HMAC_MECH_INFO_TYPE); in SHA2Init()
404 ASSERT3S(algotype, <=, SHA512_256); in SHA2Init()
407 ctx->algotype = algotype; in SHA2Init()
408 switch (ctx->algotype) { in SHA2Init()
461 switch (ctx->algotype) { in SHA2Update()
479 switch (ctx->algotype) { in SHA2Final()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dsha2.h84 int algotype; member
98 extern void SHA2Init(int algotype, SHA2_CTX *ctx);
/freebsd/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c239 ASSERT3U(sha2_ctx->algotype, ==, SHA512_HMAC_MECH_INFO_TYPE); in sha2_digest_final_uio()