Disable EDONR on FreeBSD

FreeBSD uses its own crypto framework in-kernel which, at this time,
has no EDONR implementation.

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Allan Jude <allanjude@freebsd.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9664
This commit is contained in:
Matthew Macy
2019-12-05 13:10:29 -08:00
committed by Brian Behlendorf
parent 054a049841
commit f95704ca5e
10 changed files with 45 additions and 7 deletions
+3
View File
@@ -421,6 +421,8 @@ zpool_feature_init(void)
skein_deps);
}
#if !defined(__FreeBSD__)
{
static const spa_feature_t edonr_deps[] = {
SPA_FEATURE_EXTENSIBLE_DATASET,
@@ -432,6 +434,7 @@ zpool_feature_init(void)
ZFEATURE_FLAG_PER_DATASET, ZFEATURE_TYPE_BOOLEAN,
edonr_deps);
}
#endif
{
static const spa_feature_t redact_books_deps[] = {