fcbf7cc1aa
add hash test cases to test the support for the hash algorithm in crypto device Signed-off-by: makejian <makejian@xiaomi.com>
42 lines
699 B
Plaintext
42 lines
699 B
Plaintext
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
|
|
|
|
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
|