nuttx-apps/testing/drivers/crypto/Kconfig
Peter Barada 499352fb0c testing/drivers/hash: Add unaligned buffer size test
Add hash testing of unaligned buffer sizes via multiple call to
ioctl(CIOCCRYPT) in a single session with buffer sizes incrementally
increasing from zero size to 255 (with monotoncially increasing
byte value data) to force all sizes to be handled by cryptodev
implementations.

Signed-off-by: Peter Barada <peter.barada@gmail.com>
2026-06-10 16:42:13 +08:00

122 lines
2.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_UNALIGNED_BUFFER_SIZE
bool "hash unaligned buffer size 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
config TESTING_CRYPTO_HASH_DISABLE_UNALIGNED_MD5
bool "disable unaligned md5 tests"
depends on !TESTING_CRYPTO_HASH_DISABLE_MD5
default n
config TESTING_CRYPTO_HASH_DISABLE_UNALIGNED_SHA1
bool "disable unaligned sha1 tests"
depends on !TESTING_CRYPTO_HASH_DISABLE_SHA1
default n
config TESTING_CRYPTO_HASH_DISABLE_UNALIGNED_SHA224
bool "disable unaligned sha224 tests"
depends on !TESTING_CRYPTO_HASH_DISABLE_SHA224
default n
config TESTING_CRYPTO_HASH_DISABLE_UNALIGNED_SHA256
bool "disable unaligned sha256 tests"
depends on !TESTING_CRYPTO_HASH_DISABLE_SHA256
default n
config TESTING_CRYPTO_HASH_DISABLE_UNALIGNED_SHA512
bool "disable unaligned sha512 tests"
depends on !TESTING_CRYPTO_HASH_DISABLE_SHA512
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