summaryrefslogtreecommitdiffstats
path: root/sys/modules/zfs/Makefile
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2016-05-31 04:12:14 +0000
committerallanjude <allanjude@FreeBSD.org>2016-05-31 04:12:14 +0000
commit8cebbf47bee9b1cc2332b4b67d327c92ad7bba14 (patch)
tree19cc4a13c7faa377faf81a3fd0bb6a7465e7aa3f /sys/modules/zfs/Makefile
parent02067b6b421e6305f6cb229f64ad5f88a3b664d5 (diff)
downloadFreeBSD-src-8cebbf47bee9b1cc2332b4b67d327c92ad7bba14.zip
FreeBSD-src-8cebbf47bee9b1cc2332b4b67d327c92ad7bba14.tar.gz
Connect the SHA-512t256 and Skein hashing algorithms to ZFS
Support for the new hashing algorithms in ZFS was introduced in r289422 However it was disconnected because FreeBSD lacked implementations of SHA-512 (truncated to 256 bits), and Skein. These implementations were introduced in r300921 and r300966 respectively This commit connects them to ZFS and enabled these new checksum algorithms This new algorithms are not supported by the boot blocks, so do not use them on your root dataset if you boot from ZFS. Relnotes: yes Sponsored by: ScaleEngine Inc.
Diffstat (limited to 'sys/modules/zfs/Makefile')
-rw-r--r--sys/modules/zfs/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile
index a824422..eb33a5c 100644
--- a/sys/modules/zfs/Makefile
+++ b/sys/modules/zfs/Makefile
@@ -70,6 +70,9 @@ SRCS+= zutil.c
.PATH: ${SYSDIR}/crypto/sha2
SRCS+= sha256c.c sha512c.c
+.PATH: ${SYSDIR}/crypto/skein
+SRCS+= skein.c skein_block.c
+
.PATH: ${SUNW}/common/zfs
.include "${SUNW}/uts/common/Makefile.files"
.PATH: ${SUNW}/uts/common/fs/zfs
OpenPOWER on IntegriCloud