/freebsd/crypto/openssh/openbsd-compat/ |
H A D | sha2.h | 73 } SHA2_CTX; typedef 77 void SHA224Init(SHA2_CTX *); 79 void SHA224Update(SHA2_CTX *, const u_int8_t *, size_t) 81 void SHA224Pad(SHA2_CTX *); 82 void SHA224Final(u_int8_t [SHA224_DIGEST_LENGTH], SHA2_CTX *) 84 char *SHA224End(SHA2_CTX *, char *) 96 void SHA256Init(SHA2_CTX *); 98 void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t) 100 void SHA256Pad(SHA2_CTX *); 101 void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *) [all …]
|
H A D | sha2.c | 316 SHA224Init(SHA2_CTX *context) 333 SHA224Final(u_int8_t digest[SHA224_DIGEST_LENGTH], SHA2_CTX *context) 354 SHA256Init(SHA2_CTX *context) in SHA256Init() 523 SHA256Update(SHA2_CTX *context, const u_int8_t *data, size_t len) in SHA256Update() 570 SHA256Pad(SHA2_CTX *context) in SHA256Pad() 614 SHA256Final(u_int8_t digest[SHA256_DIGEST_LENGTH], SHA2_CTX *context) in SHA256Final() 634 SHA512Init(SHA2_CTX *context) in SHA512Init() 804 SHA512Update(SHA2_CTX *context, const u_int8_t *data, size_t len) in SHA512Update() 851 SHA512Pad(SHA2_CTX *context) in SHA512Pad() 895 SHA512Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA2_CTX *context) in SHA512Final() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | sha2.h | 85 } SHA2_CTX; typedef 98 extern void SHA2Init(int algotype, SHA2_CTX *ctx); 101 extern void SHA2Update(SHA2_CTX *ctx, const void *data, size_t len); 104 extern void SHA2Final(void *digest, SHA2_CTX *ctx);
|
/freebsd/sys/contrib/openzfs/module/icp/include/sha2/ |
H A D | sha2_impl.h | 70 SHA2_CTX sc_sha2_ctx; /* SHA2 context */ 79 SHA2_CTX hc_icontext; /* inner SHA2 context */ 80 SHA2_CTX hc_ocontext; /* outer SHA2 context */
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | sha2_zfs.c | 37 SHA2_CTX *ctx = arg; in sha_incremental() 48 SHA2_CTX ctx; in abd_checksum_sha256() 84 SHA2_CTX ctx; in abd_checksum_sha512_native()
|
/freebsd/crypto/openssh/ |
H A D | digest-libc.c | 100 sizeof(SHA2_CTX), 110 sizeof(SHA2_CTX), 120 sizeof(SHA2_CTX),
|
H A D | hash.c | 36 SHA2_CTX ctx; in crypto_hash_sha512()
|
H A D | sk-usbhid.c | 318 SHA2_CTX ctx; in sha256_mem()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/checksum/ |
H A D | sha2_test.c | 146 SHA2_CTX ctx; \ in main() 163 SHA2_CTX ctx; \ in main()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_digest_private.h | 242 typedef SHA2_CTX archive_sha256_ctx; 264 typedef SHA2_CTX archive_sha384_ctx; 284 typedef SHA2_CTX archive_sha512_ctx;
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs.suppr | 10 name = SHA2_CTX
|
/freebsd/crypto/openssh/regress/misc/sk-dummy/ |
H A D | sk-dummy.c | 45 #define SHA2_CTX SHA256_CTX macro 320 SHA2_CTX ctx; in sig_ecdsa() 411 SHA2_CTX ctx; in sig_ed25519() 489 SHA2_CTX ctx; in sk_sign()
|
/freebsd/sys/contrib/openzfs/module/icp/algs/sha2/ |
H A D | sha2_generic.c | 398 SHA2Init(int algotype, SHA2_CTX *ctx) in SHA2Init() 453 SHA2Update(SHA2_CTX *ctx, const void *data, size_t len) in SHA2Update() 477 SHA2Final(void *digest, SHA2_CTX *ctx) in SHA2Final()
|
/freebsd/sys/contrib/openzfs/module/icp/io/ |
H A D | sha2_mod.c | 151 sha2_digest_update_uio(SHA2_CTX *sha2_ctx, crypto_data_t *data) in sha2_digest_update_uio() 209 sha2_digest_final_uio(SHA2_CTX *sha2_ctx, crypto_data_t *digest, in sha2_digest_final_uio()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 929 zio_crypt_bp_do_indrect_checksum_updates(SHA2_CTX *ctx, uint64_t version, in zio_crypt_bp_do_indrect_checksum_updates() 1161 SHA2_CTX ctx; in zio_crypt_do_indirect_mac_checksum_impl()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 1026 zio_crypt_bp_do_indrect_checksum_updates(SHA2_CTX *ctx, uint64_t version, in zio_crypt_bp_do_indrect_checksum_updates() 1332 SHA2_CTX ctx; in zio_crypt_do_indirect_mac_checksum_impl()
|