Home
last modified time | relevance | path

Searched refs:digestbuf (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c685 uint8_t *digestbuf, uint_t digestlen) in zio_crypt_do_hmac() argument
720 bcopy(raw_digestbuf, digestbuf, digestlen); in zio_crypt_do_hmac()
725 bzero(digestbuf, digestlen); in zio_crypt_do_hmac()
734 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; in zio_crypt_generate_iv_salt_dedup() local
737 digestbuf, SHA512_DIGEST_LENGTH); in zio_crypt_generate_iv_salt_dedup()
741 bcopy(digestbuf, salt, ZIO_DATA_SALT_LEN); in zio_crypt_generate_iv_salt_dedup()
742 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv_salt_dedup()
1309 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; in zio_crypt_do_indirect_mac_checksum_impl() local
1317 SHA2Final(digestbuf, &ctx); in zio_crypt_do_indirect_mac_checksum_impl()
1320 bcopy(digestbuf, cksum, ZIO_DATA_MAC_LEN); in zio_crypt_do_indirect_mac_checksum_impl()
[all …]
H A Ddsl_crypt.c2749 uint8_t digestbuf[ZIO_DATA_MAC_LEN]; in spa_do_crypt_mac_abd() local
2758 digestbuf, ZIO_DATA_MAC_LEN); in spa_do_crypt_mac_abd()
2770 bcopy(digestbuf, mac, ZIO_DATA_MAC_LEN); in spa_do_crypt_mac_abd()
2774 if (bcmp(digestbuf, mac, ZIO_DATA_MAC_LEN) != 0) in spa_do_crypt_mac_abd()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio_crypt.h136 uint8_t *digestbuf, uint_t digestlen);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c3508 char *digestbuf; in common_digest() local
3538 digestbuf = STRUCT_FGETP(crypto_digest, cd_digestbuf); in common_digest()
3539 if (digestbuf == NULL || digestlen == 0) { in common_digest()
3598 digestbuf, digest.cd_length) != 0) { in common_digest()