nuttx-apps/testing/drivers/crypto/Kconfig
Peter Barada fa46bdf9e8 testing/drivers/crypto: Add SH224 hash test
Add SHA224 hash test using results generated from sha224sum.

Modify "huge block" testing since allocating 600KB to hash all
at once fails on most microcontrollers.  Instead allocate a
smaller block and pass into syshash_update() enough times to
hash 600KB of data.

Signed-off-by: Peter Barada <peter.barada@gmail.com>
2026-05-31 11:44:37 +08:00

93 lines
1.6 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_SHA224
bool "disable sha224 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_PBKDF2
bool "pbkdf2 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