CONFIG_CRYPTO_LIB_AES_CBC_MACS_KUNIT_TEST KUnit tests for AES-CMAC, AES-XCBC-MAC, and AES-CBC-MAC
- Off
- Module
- Built in
KUnit tests for the AES-CMAC, AES-XCBC-MAC, and AES-CBC-MAC message authentication codes.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_AES_CBC_MACS - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_AES_CBC_MACS
CONFIG_CRYPTO_LIB_AES_CCM_KUNIT_TEST KUnit tests for AES-CCM
- Off
- Module
- Built in
KUnit tests for the AES-CCM authenticated encryption algorithm.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_AES_CCM - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_AES_CCM
CONFIG_CRYPTO_LIB_AES_GCM_KUNIT_TEST KUnit tests for AES-GCM
- Off
- Module
- Built in
KUnit tests for the AES-GCM authenticated encryption algorithm.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_AES_GCM - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_AES_GCM
CONFIG_CRYPTO_LIB_BLAKE2B_KUNIT_TEST KUnit tests for BLAKE2b
- Off
- Module
- Built in
KUnit tests for the BLAKE2b cryptographic hash function.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_BLAKE2B - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_BLAKE2B
CONFIG_CRYPTO_LIB_BLAKE2S_KUNIT_TEST KUnit tests for BLAKE2s
- Off
- Module
- Built in
KUnit tests for the BLAKE2s cryptographic hash function.
- Depends on
RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT
CONFIG_CRYPTO_LIB_CHACHA20POLY1305_KUNIT_TEST KUnit tests for ChaCha20Poly1305
- Off
- Module
- Built in
KUnit tests for the ChaCha20Poly1305 authenticated encryption algorithm.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_CHACHA20POLY1305 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_CHACHA20POLY1305
CONFIG_CRYPTO_LIB_CURVE25519_KUNIT_TEST KUnit tests for Curve25519
- Off
- Module
- Built in
KUnit tests for the Curve25519 Diffie-Hellman function.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_CURVE25519 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_CURVE25519
CONFIG_CRYPTO_LIB_GHASH_KUNIT_TEST KUnit tests for GHASH
- Off
- Module
- Built in
KUnit tests for the GHASH library functions.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_GF128HASH - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_GF128HASH
CONFIG_CRYPTO_LIB_MD5_KUNIT_TEST KUnit tests for MD5
- Off
- Module
- Built in
KUnit tests for the MD5 cryptographic hash function and its corresponding HMAC.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_MD5 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_MD5
CONFIG_CRYPTO_LIB_MLDSA_KUNIT_TEST KUnit tests for ML-DSA
- Off
- Module
- Built in
KUnit tests for the ML-DSA digital signature algorithm.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_MLDSA - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_MLDSA
CONFIG_CRYPTO_LIB_NH_KUNIT_TEST KUnit tests for NH
- Off
- Module
- Built in
KUnit tests for the NH almost-universal hash function.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_NH
CONFIG_CRYPTO_LIB_POLY1305_KUNIT_TEST KUnit tests for Poly1305
- Off
- Module
- Built in
KUnit tests for the Poly1305 library functions.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_POLY1305 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_POLY1305
CONFIG_CRYPTO_LIB_POLYVAL_KUNIT_TEST KUnit tests for POLYVAL
- Off
- Module
- Built in
KUnit tests for the POLYVAL library functions.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_GF128HASH - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_GF128HASH
CONFIG_CRYPTO_LIB_SHA1_KUNIT_TEST KUnit tests for SHA-1
- Off
- Module
- Built in
KUnit tests for the SHA-1 cryptographic hash function and its corresponding HMAC.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA1 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA1
CONFIG_CRYPTO_LIB_SHA256_KUNIT_TEST KUnit tests for SHA-224 and SHA-256
- Off
- Module
- Built in
KUnit tests for the SHA-224 and SHA-256 cryptographic hash functions and their corresponding HMACs.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA256 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA256
CONFIG_CRYPTO_LIB_SHA512_KUNIT_TEST KUnit tests for SHA-384 and SHA-512
- Off
- Module
- Built in
KUnit tests for the SHA-384 and SHA-512 cryptographic hash functions and their corresponding HMACs.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA512 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA512
CONFIG_CRYPTO_LIB_SHA3_KUNIT_TEST KUnit tests for SHA-3
- Off
- Module
- Built in
KUnit tests for the SHA3 cryptographic hash and XOF functions, including SHA3-224, SHA3-256, SHA3-384, SHA3-512, SHAKE128 and SHAKE256.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA3 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SHA3
CONFIG_CRYPTO_LIB_SIPHASH_KUNIT_TEST KUnit tests for SipHash
- Off
- Module
- Built in
KUnit tests for the SipHash cryptographically secure PRF.
- Depends on
RUNTIME_TESTING_MENU && KUNIT
CONFIG_CRYPTO_LIB_SM3_KUNIT_TEST KUnit tests for SM3
- Off
- Module
- Built in
KUnit tests for the SM3 cryptographic hash function.
- Depends on
RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SM3 - Selects
CRYPTO_LIB_BENCHMARK_VISIBLE if RUNTIME_TESTING_MENU && KUNIT && CRYPTO_LIB_SM3
CONFIG_CRYPTO_LIB_ENABLE_ALL_FOR_KUNIT Enable all crypto library code for KUnit tests
- Off
- Module
- Built in
Enable all the crypto library code that has KUnit tests.
Enable this only if you'd like to test all the crypto library code, even code that wouldn't otherwise need to be built.
You'll still need to enable the tests themselves, either individually or using KUNIT_ALL_TESTS.
- Depends on
RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_CBC if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_CBC_MACS if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_CCM if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_CTR if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_ECB if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_GCM if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_AES_XTS if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_BLAKE2B if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_CHACHA20POLY1305 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_CURVE25519 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_GF128HASH if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_MD5 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_MLDSA if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_NH if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_POLY1305 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_SHA1 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_SHA256 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_SHA512 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_SHA3 if RUNTIME_TESTING_MENU && KUNIT - Selects
CRYPTO_LIB_SM3 if RUNTIME_TESTING_MENU && KUNIT
CONFIG_CRYPTO_LIB_BENCHMARK_VISIBLE
- Depends on
RUNTIME_TESTING_MENU
CONFIG_CRYPTO_LIB_BENCHMARK Include benchmarks in KUnit tests for cryptographic functions
Include benchmarks in the KUnit tests for cryptographic functions. The benchmark results are printed to the kernel log when the corresponding KUnit test suite runs.
This is useful for evaluating the performance of the cryptographic functions. However, it will increase the runtime of the KUnit tests.
If you're only interested in correctness testing, leave this disabled.
- Depends on
RUNTIME_TESTING_MENU && CRYPTO_LIB_BENCHMARK_VISIBLE