Home
last modified time | relevance | path

Searched refs:SHA2_CTX (Results 1 – 14 of 14) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/
H A Dsha2.h87 } SHA2_CTX; typedef
89 typedef SHA2_CTX SHA256_CTX;
90 typedef SHA2_CTX SHA384_CTX;
91 typedef SHA2_CTX SHA512_CTX;
93 extern void SHA2Init(uint64_t mech, SHA2_CTX *);
95 extern void SHA2Update(SHA2_CTX *, const void *, size_t);
97 extern void SHA2Final(void *, SHA2_CTX *);
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dsha2.h87 } SHA2_CTX; typedef
89 typedef SHA2_CTX SHA256_CTX;
90 typedef SHA2_CTX SHA384_CTX;
91 typedef SHA2_CTX SHA512_CTX;
111 extern void SHA2Init(uint64_t mech, SHA2_CTX *);
113 extern void SHA2Update(SHA2_CTX *, const void *, size_t);
115 extern void SHA2Final(void *, SHA2_CTX *);
/f-stack/freebsd/contrib/openzfs/module/icp/include/sha2/
H A Dsha2_impl.h47 SHA2_CTX sc_sha2_ctx; /* SHA2 context */
56 SHA2_CTX hc_icontext; /* inner SHA2 context */
57 SHA2_CTX hc_ocontext; /* outer SHA2 context */
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dsha2.h81 } SHA2_CTX; typedef
103 SHA2Init(uint64_t mech, SHA2_CTX *c) in SHA2Init()
125 SHA2Update(SHA2_CTX *c, const void *p, size_t s) in SHA2Update()
146 SHA2Final(void *p, SHA2_CTX *c) in SHA2Final()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dsha256.c39 SHA2_CTX *ctx = arg; in sha_incremental()
50 SHA2_CTX ctx; in abd_checksum_SHA256()
86 SHA2_CTX ctx; in abd_checksum_SHA512_native()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/
H A Dsha2_test.c186 SHA2_CTX ctx; \ in main()
204 SHA2_CTX ctx; \ in main()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs.suppr10 name = SHA2_CTX
H A Dlibzfs.abi3650 …<typedef-decl name='SHA2_CTX' type-id='type-id-261' filepath='../../lib/libspl/include/sys/sha2.h'…
/f-stack/freebsd/contrib/openzfs/module/icp/algs/sha2/
H A Dsha2.c60 void SHA512TransformBlocks(SHA2_CTX *ctx, const void *in, size_t num);
61 void SHA256TransformBlocks(SHA2_CTX *ctx, const void *in, size_t num);
64 static void SHA256Transform(SHA2_CTX *, const uint8_t *);
65 static void SHA512Transform(SHA2_CTX *, const uint8_t *);
150 SHA256Transform(SHA2_CTX *ctx, const uint8_t *blk) in SHA256Transform()
359 SHA512Transform(SHA2_CTX *ctx, const uint8_t *blk) in SHA512Transform()
674 SHA2Init(uint64_t mech, SHA2_CTX *ctx) in SHA2Init()
782 SHA2Update(SHA2_CTX *ctx, const void *inptr, size_t input_len) in SHA2Update()
904 SHA2Final(void *digest, SHA2_CTX *ctx) in SHA2Final()
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c291 sha2_digest_update_uio(SHA2_CTX *sha2_ctx, crypto_data_t *data) in sha2_digest_update_uio()
349 sha2_digest_final_uio(SHA2_CTX *sha2_ctx, crypto_data_t *digest, in sha2_digest_final_uio()
629 SHA2_CTX sha2_ctx; in sha2_digest_atomic()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c940 zio_crypt_bp_do_indrect_checksum_updates(SHA2_CTX *ctx, uint64_t version, in zio_crypt_bp_do_indrect_checksum_updates()
1172 SHA2_CTX ctx; in zio_crypt_do_indirect_mac_checksum_impl()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c1020 zio_crypt_bp_do_indrect_checksum_updates(SHA2_CTX *ctx, uint64_t version, in zio_crypt_bp_do_indrect_checksum_updates()
1318 SHA2_CTX ctx; in zio_crypt_do_indirect_mac_checksum_impl()
/f-stack/freebsd/contrib/openzfs/module/icp/asm-x86_64/sha2/
H A Dsha256_impl.S76 SHA256TransformBlocks(SHA2_CTX *ctx, const void *in, size_t num)
H A Dsha512_impl.S77 SHA512TransformBlocks(SHA2_CTX *ctx, const void *in, size_t num)