padlock(4)/nehemiah: move i386-only entropy source to MD files

Reviewed by: khng
Differential Revision:	https://reviews.freebsd.org/D53309
This commit is contained in:
David E. O'Brien
2025-10-23 15:27:06 -07:00
parent 0d589ecbc7
commit d1ca01059d
7 changed files with 11 additions and 5 deletions
-1
View File
@@ -309,7 +309,6 @@ device wpi # Intel 3945ABG wireless NICs.
device crypto # core crypto support device crypto # core crypto support
device aesni # AES-NI OpenCrypto module device aesni # AES-NI OpenCrypto module
device loop # Network loopback device loop # Network loopback
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG device rdrand_rng # Intel Bull Mountain RNG
device ether # Ethernet support device ether # Ethernet support
device vlan # 802.1Q VLAN support device vlan # 802.1Q VLAN support
-1
View File
@@ -113,7 +113,6 @@ device uart # Generic UART driver
# Pseudo devices. # Pseudo devices.
device loop # Network loopback device loop # Network loopback
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG device rdrand_rng # Intel Bull Mountain RNG
device ether # Ethernet support device ether # Ethernet support
+1
View File
@@ -33,6 +33,7 @@ dev/hyperv/vmbus/i386/hyperv_machdep.c optional hyperv
dev/le/if_le_isa.c optional le isa dev/le/if_le_isa.c optional le isa
dev/ofw/ofw_pcib.c optional fdt pci dev/ofw/ofw_pcib.c optional fdt pci
dev/pcf/pcf_isa.c optional pcf dev/pcf/pcf_isa.c optional pcf
dev/random/nehemiah.c optional padlock_rng !random_loadable
dev/sbni/if_sbni.c optional sbni dev/sbni/if_sbni.c optional sbni
dev/sbni/if_sbni_isa.c optional sbni isa dev/sbni/if_sbni_isa.c optional sbni isa
dev/sbni/if_sbni_pci.c optional sbni pci dev/sbni/if_sbni_pci.c optional sbni pci
-1
View File
@@ -310,7 +310,6 @@ dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx | ntb_hw
dev/ntb/test/ntb_tool.c optional ntb_tool dev/ntb/test/ntb_tool.c optional ntb_tool
dev/nvram/nvram.c optional nvram isa dev/nvram/nvram.c optional nvram isa
dev/random/ivy.c optional rdrand_rng !random_loadable dev/random/ivy.c optional rdrand_rng !random_loadable
dev/random/nehemiah.c optional padlock_rng !random_loadable
dev/random/rdseed.c optional rdrand_rng !random_loadable dev/random/rdseed.c optional rdrand_rng !random_loadable
dev/qat_c2xxx/qat.c optional qat_c2xxx dev/qat_c2xxx/qat.c optional qat_c2xxx
dev/qat_c2xxx/qat_ae.c optional qat_c2xxx dev/qat_c2xxx/qat_ae.c optional qat_c2xxx
+7
View File
@@ -302,6 +302,13 @@ envvar hint.pcf.0.irq="5"
# #
device glxsb # AMD Geode LX Security Block device glxsb # AMD Geode LX Security Block
#
# padlock is a driver for the cryptographic functions and RNG in
# VIA C3, C7, and Eden processors.
# Requires 'device crypto'.
#
device padlock_rng # VIA Padlock RNG
##################################################################### #####################################################################
# ABI Emulation # ABI Emulation
+3 -1
View File
@@ -819,7 +819,6 @@ _nfe= nfe
_nvram= nvram _nvram= nvram
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_padlock= padlock _padlock= padlock
_padlock_rng= padlock_rng
_rdrand_rng= rdrand_rng _rdrand_rng= rdrand_rng
_rdseed_rng= rdseed_rng _rdseed_rng= rdseed_rng
.endif .endif
@@ -892,6 +891,9 @@ _glxsb= glxsb
_pcfclock= pcfclock _pcfclock= pcfclock
_pst= pst _pst= pst
_sbni= sbni _sbni= sbni
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_padlock_rng= padlock_rng
.endif
.endif .endif
.if ${MACHINE_ARCH} == "armv7" .if ${MACHINE_ARCH} == "armv7"
-1
View File
@@ -541,7 +541,6 @@ device smbios
device vpd device vpd
device asmc device asmc
device tpm device tpm
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG device rdrand_rng # Intel Bull Mountain RNG
device aesni # AES-NI OpenCrypto module device aesni # AES-NI OpenCrypto module
device ossl # OpenSSL OpenCrypto module device ossl # OpenSSL OpenCrypto module