nuttx-apps/testing/drivers/crypto/Kconfig
Eren Terzioglu 0b084ded88 testing/crypto: Add options to disable hash tests
Add options to disable individual hash tests for devices not supported each hash

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
2026-02-24 13:36:32 +08:00

85 lines
1.4 KiB
Text

config TESTING_CRYPTO
tristate "crypto test"
default n
---help---
Enable crypto test
if TESTING_CRYPTO
config TESTING_CRYPTO_3DES_CBC
bool "3des-cbc crypto test"
default y
config TESTING_CRYPTO_AES_CBC
bool "aes-cbc crypto test"
default y
config TESTING_CRYPTO_AES_CTR
bool "aes-ctr crypto test"
default y
config TESTING_CRYPTO_AES_XTS
bool "aes-xts crypto test"
default y
config TESTING_CRYPTO_HMAC
bool "hmac crypto test"
default y
config TESTING_CRYPTO_HASH
bool "hash crypto test"
default n
if TESTING_CRYPTO_HASH
config TESTING_CRYPTO_HASH_HUGE_BLOCK
bool "hash huge block crypto test"
default y
config TESTING_CRYPTO_HASH_DISABLE_MD5
bool "disable md5 tests"
default n
config TESTING_CRYPTO_HASH_DISABLE_SHA1
bool "disable sha1 tests"
default n
config TESTING_CRYPTO_HASH_DISABLE_SHA256
bool "disable sha256 tests"
default n
config TESTING_CRYPTO_HASH_DISABLE_SHA512
bool "disable sha512 tests"
default n
endif
config TESTING_CRYPTO_CRC32
bool "crc32 crypto test"
default n
config TESTING_CRYPTO_AES_CMAC
bool "aes-cmac crypto test"
default n
config TESTING_CRYPTO_ECDSA
bool "ecdsa crypto test"
default n
config TESTING_CRYPTO_ECDH
bool "ecdh crypto test"
default n
config TESTING_CRYPTO_RSA
bool "rsa crypto test"
default n
config TESTING_CRYPTO_PRIORITY
int "crypto test task priority"
default 100
config TESTING_CRYPTO_STACKSIZE
int "crypto test stack size"
default DEFAULT_TASK_STACKSIZE
endif