aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/zfs
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2016-05-31 04:12:14 +0000
committerAllan Jude <allanjude@FreeBSD.org>2016-05-31 04:12:14 +0000
commit0144ad3e7873a3b8904f2d8f8c0429029d45993a (patch)
tree19cc4a13c7faa377faf81a3fd0bb6a7465e7aa3f /sys/modules/zfs
parent387d355588b9390302de1ccc293436ac12090a0e (diff)
downloadsrc-0144ad3e7873a3b8904f2d8f8c0429029d45993a.tar.gz
src-0144ad3e7873a3b8904f2d8f8c0429029d45993a.zip
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.
Notes
Notes: svn path=/head/; revision=301010
Diffstat (limited to 'sys/modules/zfs')
-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 a824422e69fc..eb33a5cc54f9 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