1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/crypto, sys/random: Fix Kconfig files in response to AES changes

This commit is contained in:
Ollrogge 2021-04-22 09:55:03 +02:00
parent 3f529904b7
commit f5ca90b007
2 changed files with 5 additions and 20 deletions

View File

@ -5,28 +5,13 @@
# directory for more details.
#
menu "Crypto"
config MODULE_CRYPTO
bool "Common cryptographic functionalities"
menuconfig MODULE_CRYPTO
bool "Crypto"
depends on TEST_KCONFIG
choice
bool "Crypto block ciphers API implementation"
optional
depends on TEST_KCONFIG
help
The common Crypto block ciphers API has multiple implementations. Choose
one of the following.
config CRYPTO_AES
bool "AES"
select MODULE_CRYPTO
endchoice
if MODULE_CRYPTO
menu "Crypto AES options"
depends on CRYPTO_AES
config MODULE_CRYPTO_AES_128
bool "AES-128"
@ -50,4 +35,4 @@ endmenu # Crypto AES options
rsource "modes/Kconfig"
endmenu # Crypto
endif # Crypto

View File

@ -25,7 +25,7 @@ config MODULE_PRNG_FORTUNA
select MODULE_XTIMER
select MODULE_FORTUNA
select MODULE_CRYPTO
depends on MODULE_CRYPTO_AES
select MODULE_CRYPTO_AES_128
config MODULE_PRNG_HWRNG
bool "Hardware RNG"