nuttx-apps/testing/drivers/crypto/Kconfig
Vlad Pruteanu cd2b0c0e87 testing/crypto: Add pbkdf2 test app
This adds support for testing PBKDF2 implementation. Test
vectors for SHA1 are taken from RFC6070. SHA256 vectors
were extrapolated using an online PBKDF2 generator which
was checked against RFC6070.

Signed-off-by: Vlad Pruteanu <pruteanuvlad1611@yahoo.com>
2026-03-27 21:46:08 +08:00

89 lines
1.5 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_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