Searched refs:digestbuf (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/mtree/
H A Dcompare.c142 char *digestbuf; local
429 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL) {
435 if (strcmp(s->md5digest, digestbuf)) {
440 tab, MD5KEY, s->md5digest, digestbuf);
443 free(digestbuf);
449 if ((digestbuf = RMD160File(p->fts_accpath, NULL)) == NULL) {
455 if (strcmp(s->rmd160digest, digestbuf)) {
460 tab, RMD160KEY, s->rmd160digest, digestbuf);
463 free(digestbuf);
469 if ((digestbuf
[all...]
H A Dcreate.c190 char *digestbuf; local
253 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL)
256 output(fp, indent, &offset, "%s=%s", MD5KEY, digestbuf);
257 free(digestbuf);
262 if ((digestbuf = RMD160File(p->fts_accpath, NULL)) == NULL)
265 output(fp, indent, &offset, "%s=%s", RMD160KEY, digestbuf);
266 free(digestbuf);
271 if ((digestbuf = SHA1File(p->fts_accpath, NULL)) == NULL)
274 output(fp, indent, &offset, "%s=%s", SHA1KEY, digestbuf);
275 free(digestbuf);
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
H A Dzio_crypt.h148 uint8_t *digestbuf, uint_t digestlen);
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c672 uint8_t *digestbuf, uint_t digestlen)
707 bcopy(raw_digestbuf, digestbuf, digestlen);
712 bzero(digestbuf, digestlen);
721 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; local
724 digestbuf, SHA512_DIGEST_LENGTH);
728 bcopy(digestbuf, salt, ZIO_DATA_SALT_LEN);
729 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN);
1306 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; local
1314 SHA2Final(digestbuf, &ctx);
1317 bcopy(digestbuf, cksu
671 zio_crypt_do_hmac(zio_crypt_key_t *key, uint8_t *data, uint_t datalen, uint8_t *digestbuf, uint_t digestlen) argument
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c642 uint8_t *digestbuf, uint_t digestlen)
651 bcopy(raw_digestbuf, digestbuf, digestlen);
661 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; local
664 digestbuf, SHA512_DIGEST_LENGTH);
668 bcopy(digestbuf, salt, ZIO_DATA_SALT_LEN);
669 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN);
1167 uint8_t digestbuf[SHA512_DIGEST_LENGTH]; local
1175 SHA2Final(digestbuf, &ctx);
1178 bcopy(digestbuf, cksum, ZIO_DATA_MAC_LEN);
1182 if (bcmp(digestbuf, cksu
641 zio_crypt_do_hmac(zio_crypt_key_t *key, uint8_t *data, uint_t datalen, uint8_t *digestbuf, uint_t digestlen) argument
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c2728 uint8_t digestbuf[ZIO_DATA_MAC_LEN]; local
2737 digestbuf, ZIO_DATA_MAC_LEN);
2749 bcopy(digestbuf, mac, ZIO_DATA_MAC_LEN);
2753 if (bcmp(digestbuf, mac, ZIO_DATA_MAC_LEN) != 0)

Completed in 80 milliseconds