Searched refs:digestbuf (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13.1/contrib/mtree/ |
| H A D | compare.c | 142 char *digestbuf; in compare() local 435 if (strcmp(s->md5digest, digestbuf)) { in compare() 443 free(digestbuf); in compare() 455 if (strcmp(s->rmd160digest, digestbuf)) { in compare() 463 free(digestbuf); in compare() 475 if (strcmp(s->sha1digest, digestbuf)) { in compare() 483 free(digestbuf); in compare() 495 if (strcmp(s->sha256digest, digestbuf)) { in compare() 503 free(digestbuf); in compare() 522 free(digestbuf); in compare() [all …]
|
| H A D | create.c | 190 char *digestbuf; in statf() local 253 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL) in statf() 256 output(fp, indent, &offset, "%s=%s", MD5KEY, digestbuf); in statf() 257 free(digestbuf); in statf() 266 free(digestbuf); in statf() 271 if ((digestbuf = SHA1File(p->fts_accpath, NULL)) == NULL) in statf() 274 output(fp, indent, &offset, "%s=%s", SHA1KEY, digestbuf); in statf() 275 free(digestbuf); in statf() 284 free(digestbuf); in statf() 292 free(digestbuf); in statf() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 642 uint8_t *digestbuf, uint_t digestlen) in zio_crypt_do_hmac() argument 651 bcopy(raw_digestbuf, digestbuf, digestlen); in zio_crypt_do_hmac() 661 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; in zio_crypt_generate_iv_salt_dedup() local 664 digestbuf, SHA512_DIGEST_LENGTH); in zio_crypt_generate_iv_salt_dedup() 668 bcopy(digestbuf, salt, ZIO_DATA_SALT_LEN); in zio_crypt_generate_iv_salt_dedup() 669 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv_salt_dedup() 1181 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; in zio_crypt_do_indirect_mac_checksum_impl() local 1189 SHA2Final(digestbuf, &ctx); in zio_crypt_do_indirect_mac_checksum_impl() 1192 bcopy(digestbuf, cksum, ZIO_DATA_MAC_LEN); in zio_crypt_do_indirect_mac_checksum_impl() 1196 if (bcmp(digestbuf, cksum, ZIO_DATA_MAC_LEN) != 0) { in zio_crypt_do_indirect_mac_checksum_impl()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 672 uint8_t *digestbuf, uint_t digestlen) in zio_crypt_do_hmac() argument 707 bcopy(raw_digestbuf, digestbuf, digestlen); in zio_crypt_do_hmac() 712 bzero(digestbuf, digestlen); in zio_crypt_do_hmac() 721 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; in zio_crypt_generate_iv_salt_dedup() local 724 digestbuf, SHA512_DIGEST_LENGTH); in zio_crypt_generate_iv_salt_dedup() 728 bcopy(digestbuf, salt, ZIO_DATA_SALT_LEN); in zio_crypt_generate_iv_salt_dedup() 729 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv_salt_dedup() 1327 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; in zio_crypt_do_indirect_mac_checksum_impl() local 1335 SHA2Final(digestbuf, &ctx); in zio_crypt_do_indirect_mac_checksum_impl() 1338 bcopy(digestbuf, cksum, ZIO_DATA_MAC_LEN); in zio_crypt_do_indirect_mac_checksum_impl() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | zio_crypt.h | 148 uint8_t *digestbuf, uint_t digestlen);
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | dsl_crypt.c | 2721 uint8_t digestbuf[ZIO_DATA_MAC_LEN]; in spa_do_crypt_mac_abd() local 2730 digestbuf, ZIO_DATA_MAC_LEN); in spa_do_crypt_mac_abd() 2742 bcopy(digestbuf, mac, ZIO_DATA_MAC_LEN); in spa_do_crypt_mac_abd() 2746 if (bcmp(digestbuf, mac, ZIO_DATA_MAC_LEN) != 0) in spa_do_crypt_mac_abd()
|