mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 06:12:43 +01:00
sys/crypto: add modules to Kconfig
This commit is contained in:
parent
8e47621e7c
commit
d90ac484a3
@ -11,6 +11,7 @@ rsource "auto_init/Kconfig"
|
||||
rsource "benchmark/Kconfig"
|
||||
rsource "checksum/Kconfig"
|
||||
rsource "color/Kconfig"
|
||||
rsource "crypto/Kconfig"
|
||||
rsource "div/Kconfig"
|
||||
rsource "embunit/Kconfig"
|
||||
rsource "entropy_source/Kconfig"
|
||||
|
47
sys/crypto/Kconfig
Normal file
47
sys/crypto/Kconfig
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
menu "Crypto"
|
||||
|
||||
config MODULE_CRYPTO
|
||||
bool "Common cryptographic functionalities"
|
||||
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 MODULE_CRYPTO_AES
|
||||
bool "AES"
|
||||
select MODULE_CRYPTO
|
||||
|
||||
config MODULE_CRYPTO_3DES
|
||||
bool "3DES (deprecated)"
|
||||
select MODULE_CRYPTO
|
||||
|
||||
endchoice
|
||||
|
||||
menu "Crypto AES options"
|
||||
depends on MODULE_CRYPTO_AES
|
||||
|
||||
config MODULE_CRYPTO_AES_PRECALCULATED
|
||||
bool "Pre-calculate T tables"
|
||||
|
||||
config MODULE_CRYPTO_AES_UNROLL
|
||||
bool "Unroll loop in AES"
|
||||
help
|
||||
This unrolls a loop in AES, but it uses more flash.
|
||||
|
||||
endmenu # Crypto AES options
|
||||
|
||||
rsource "modes/Kconfig"
|
||||
|
||||
endmenu # Crypto
|
12
sys/crypto/modes/Kconfig
Normal file
12
sys/crypto/modes/Kconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_CIPHER_MODES
|
||||
bool "Modes for block ciphers"
|
||||
depends on MODULE_CRYPTO
|
||||
help
|
||||
Include common code for block cipher modes, such as CBC, ECB or OCB.
|
Loading…
Reference in New Issue
Block a user