Enable cryptographic self-tests

configname: CONFIG_CRYPTO_SELFTESTS

Linux Kernel Configuration
└─>Cryptographic API
└─>Crypto core or helper
└─>Enable cryptographic self-tests
In linux kernel since version 6.1.145 (release Date: 2025-07-14)  
Enable the cryptographic self-tests.

The cryptographic self-tests run at boot time, or at algorithm
registration time if algorithms are dynamically loaded later.

There are two main use cases for these tests:

- Development and pre-release testing. In this case, also enable
CRYPTO_SELFTESTS_FULL to get the full set of tests. All crypto code
in the kernel is expected to pass the full set of tests.

- Production kernels, to help prevent buggy drivers from being used
and/or meet FIPS 140-3 pre-operational testing requirements. In
this case, enable CRYPTO_SELFTESTS but not CRYPTO_SELFTESTS_FULL.

depends
CONFIG_CRYPTO
CONFIG_EXPERT