mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
Merge pull request #18025 from leandrolanzieri/pr/sys/random/change_kconfig_default_backend
sys/random/kconfig: remove HWRNG default in backend choice
This commit is contained in:
commit
eb09fe21fd
@ -1,8 +1,4 @@
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_MODULE_PERIPH_HWRNG=y
|
||||
CONFIG_MODULE_PERIPH_UART=y
|
||||
CONFIG_MODULE_NEWLIB=y
|
||||
|
||||
@ -13,11 +13,15 @@ menuconfig MODULE_RANDOM
|
||||
|
||||
if MODULE_RANDOM
|
||||
|
||||
comment "This platform has a Hardware RNG, consider using it"
|
||||
depends on HAS_PERIPH_HWRNG && !MODULE_PRNG_HWRNG
|
||||
|
||||
choice RANDOM_IMPLEMENTATION
|
||||
bool "PRNG Implementation"
|
||||
depends on TEST_KCONFIG
|
||||
default MODULE_PRNG_HWRNG if HAS_PERIPH_HWRNG
|
||||
default MODULE_PRNG_MUSL_LCG
|
||||
# TODO: make HWRNG on platforms where it is available is a better default, but we want to
|
||||
# match Makefile.dep. Add it back when migration is done.
|
||||
|
||||
menuconfig MODULE_PRNG_FORTUNA
|
||||
bool "Fortuna"
|
||||
|
||||
@ -1,6 +1 @@
|
||||
CONFIG_MODULE_SOCKET_ZEP=y
|
||||
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_C25519=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_CIFRA=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_HACL=y
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_LIBCOSE_CRYPT_HACL=y
|
||||
CONFIG_MODULE_MEMARRAY=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
CONFIG_PACKAGE_HACL=y
|
||||
CONFIG_PACKAGE_LIBCOSE=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_LIBHYDROGEN=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_HASHES=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_MICRO-ECC=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_MONOCYPHER=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_QDSA=y
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_PACKAGE_TWEETNACL=y
|
||||
|
||||
@ -4,5 +4,4 @@ CONFIG_MODULE_ATOMIC_UTILS=y
|
||||
CONFIG_MODULE_FMT=y
|
||||
CONFIG_MODULE_SHELL=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
CONFIG_ZTIMER_USEC=y
|
||||
|
||||
@ -3,5 +3,3 @@
|
||||
CONFIG_MODULE_EMBUNIT=y
|
||||
CONFIG_MODULE_ATOMIC_UTILS=y
|
||||
CONFIG_MODULE_RANDOM=y
|
||||
# Force tinymt32 to be selected
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
|
||||
@ -6,8 +6,3 @@ CONFIG_MODULE_FIDO2_CTAP_TRANSPORT=y
|
||||
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT_HID=y
|
||||
|
||||
CONFIG_PACKAGE_FIDO2_TESTS=y
|
||||
|
||||
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
|
||||
# Since the makefile cannot we have to override until end of migration
|
||||
# Remove when TEST_KCONFIG is complete
|
||||
CONFIG_MODULE_PRNG_MUSL_LCG=y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user