You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Default --enable-linuxkm to seed its FIPS DRBG from a separately-built
6066
-
# wolfentropy.ko module via WC_LINUXKM_WOLFENTROPY_IN_GLUE_LAYER (resolved
6067
-
# at module load time via a weak extern on wc_Entropy_Get). Skipped if
6068
-
# wolfEntropy is being compiled into libwolfssl.ko itself, or if Intel/AMD
6069
-
# RDSEED/RDRAND was explicitly requested as the entropy source.
6070
-
if test "$KERNEL_MODE_DEFAULTS" = "yes" && \
6071
-
test "x$ENABLED_ENTROPY_MEMUSE" = "xno" && \
6072
-
test "$ENABLED_AMDRDSEED" != "yes" && \
6073
-
test "$ENABLED_INTELRDRAND" != "yes" && \
6074
-
test "$ENABLED_INTELRDSEED" != "yes"
6075
-
then
6075
+
# Opt-in: seed libwolfssl.ko's FIPS DRBG from a separately-built wolfentropy.ko
6076
+
# module via WC_LINUXKM_WOLFENTROPY_IN_GLUE_LAYER (resolved at module load time
6077
+
# via a weak extern on wc_Entropy_Get). When enabled, libwolfssl.ko is no
6078
+
# longer free-standing -- wolfentropy.ko must be loaded first. Mutually
6079
+
# exclusive with --enable-wolfEntropy (which compiles the entropy source
6080
+
# directly into libwolfssl.ko).
6081
+
AC_ARG_ENABLE([linuxkm-external-wolfentropy],
6082
+
[AS_HELP_STRING([--enable-linuxkm-external-wolfentropy],[Seed libwolfssl.ko's DRBG from a separately-loaded wolfentropy.ko module instead of compiling wolfEntropy into libwolfssl.ko (default: disabled)])],
if test "x$enable_wolfEntropy" = "xyes" || test "x$enable_wolfentropy" = "xyes" || \
6092
+
test "x$enable_entropy_memuse" = "xyes"; then
6093
+
AC_MSG_ERROR([--enable-linuxkm-external-wolfentropy is mutually exclusive with --enable-wolfEntropy; the external wolfentropy.ko provides wc_Entropy_Get.])
6094
+
fi
6095
+
# Override the KERNEL_MODE_DEFAULTS default of ENABLED_ENTROPY_MEMUSE=yes:
6096
+
# in this mode the entropy source is provided by wolfentropy.ko, not
0 commit comments