Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dsha2.h75 uint32_t algotype; /* Algorithm Type */ member
121 c->algotype = (uint32_t)mech; in SHA2Init()
127 switch (c->algotype) { in SHA2Update()
141 panic("unknown mechanism %d", c->algotype); in SHA2Update()
148 switch (c->algotype) { in SHA2Final()
162 panic("unknown mechanism %d", c->algotype); in SHA2Final()
/f-stack/freebsd/contrib/openzfs/module/icp/algs/sha2/
H A Dsha2.c743 ctx->algotype = (uint32_t)mech; in SHA2Init()
786 uint32_t algotype = ctx->algotype; in SHA2Update() local
792 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
834 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) in SHA2Update()
843 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
855 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Update()
909 uint32_t algotype = ctx->algotype; in SHA2Final() local
911 if (algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Final()
923 if (algotype <= SHA384_HMAC_GEN_MECH_INFO_TYPE) { in SHA2Final()
927 } else if (algotype == SHA512_224_MECH_INFO_TYPE) { in SHA2Final()
[all …]
/f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/
H A Dsha2.h70 uint32_t algotype; /* Algorithm Type */ member
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dsha2.h70 uint32_t algotype; /* Algorithm Type */ member
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c379 if (((sha2_ctx->algotype <= SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_uio()
381 ((sha2_ctx->algotype > SHA256_HMAC_GEN_MECH_INFO_TYPE) && in sha2_digest_final_uio()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi3653 …<var-decl name='algotype' type-id='type-id-76' visibility='default' filepath='../../lib/libspl/inc…