summaryrefslogtreecommitdiffstats
path: root/include
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
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')
-rw-r--r--include/sys/zio.h2
-rw-r--r--include/zfeature_common.h2
2 files changed, 4 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
};
diff --git a/include/zfeature_common.h b/include/zfeature_common.h
index 4f7822973..2d8767d5b 100644
--- a/include/zfeature_common.h
+++ b/include/zfeature_common.h
@@ -56,7 +56,9 @@ typedef enum spa_feature {
SPA_FEATURE_LARGE_DNODE,
SPA_FEATURE_SHA512,
SPA_FEATURE_SKEIN,
+#if !defined(__FreeBSD__)
SPA_FEATURE_EDONR,
+#endif
SPA_FEATURE_USEROBJ_ACCOUNTING,
SPA_FEATURE_ENCRYPTION,
SPA_FEATURE_PROJECT_QUOTA,