aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zio.h
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-12-05 13:10:29 -0800
committerBrian Behlendorf <[email protected]>2019-12-05 13:10:29 -0800
commitf95704ca5ef37aac2dc335d878380512a7cf628c (patch)
tree304d75e90a522e8b11156ad38823709f1d70a951 /include/sys/zio.h
parent054a049841879bfa4d7a8c91fbe5c7d51864e23d (diff)
Disable EDONR on FreeBSD
FreeBSD uses its own crypto framework in-kernel which, at this time, has no EDONR implementation. Reviewed-by: Jorgen Lundman <[email protected]> Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #9664
Diffstat (limited to 'include/sys/zio.h')
-rw-r--r--include/sys/zio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/zio.h b/include/sys/zio.h
index 9326030d0..3ecaced74 100644
--- a/include/sys/zio.h
+++ b/include/sys/zio.h
@@ -85,7 +85,9 @@ enum zio_checksum {
ZIO_CHECKSUM_NOPARITY,
ZIO_CHECKSUM_SHA512,
ZIO_CHECKSUM_SKEIN,
+#if !defined(__FreeBSD__)
ZIO_CHECKSUM_EDONR,
+#endif
ZIO_CHECKSUM_FUNCTIONS
};