Lines Matching refs:digestbuf
685 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()
1324 if (bcmp(digestbuf, cksum, ZIO_DATA_MAC_LEN) != 0) in zio_crypt_do_indirect_mac_checksum_impl()