random: Fix kconfig symbol name
s/CSPRING_ENABLED/CSPRNG_ENABLED/g Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
23106b81c8
commit
646a06c9fe
|
@ -113,7 +113,7 @@ endchoice
|
|||
#
|
||||
config MBEDTLS
|
||||
#config TINYCRYPT
|
||||
default y if CSPRING_ENABLED
|
||||
default y if CSPRNG_ENABLED
|
||||
depends on ENTROPY_GENERATOR
|
||||
|
||||
if MBEDTLS
|
||||
|
|
|
@ -62,7 +62,7 @@ endif
|
|||
#
|
||||
config MBEDTLS
|
||||
#config TINYCRYPT
|
||||
default y if CSPRING_ENABLED
|
||||
default y if CSPRNG_ENABLED
|
||||
depends on ENTROPY_GENERATOR
|
||||
|
||||
if MBEDTLS
|
||||
|
|
|
@ -63,7 +63,7 @@ endif
|
|||
#
|
||||
config MBEDTLS
|
||||
#config TINYCRYPT
|
||||
default y if CSPRING_ENABLED
|
||||
default y if CSPRNG_ENABLED
|
||||
depends on ENTROPY_GENERATOR
|
||||
|
||||
if MBEDTLS
|
||||
|
|
|
@ -16,7 +16,7 @@ choice
|
|||
|
||||
config JWT_SIGN_RSA
|
||||
bool "Use RSA signature (RS-256)"
|
||||
depends on CSPRING_ENABLED
|
||||
depends on CSPRNG_ENABLED
|
||||
select MBEDTLS
|
||||
|
||||
config JWT_SIGN_ECDSA
|
||||
|
|
|
@ -70,7 +70,7 @@ config OSDP_SKIP_MARK_BYTE
|
|||
|
||||
config OSDP_SC_ENABLED
|
||||
bool "OSDP Secure Channel"
|
||||
depends on CSPRING_ENABLED
|
||||
depends on CSPRNG_ENABLED
|
||||
default y
|
||||
select CRYPTO
|
||||
select CRYPTO_MBEDTLS_SHIM
|
||||
|
|
|
@ -72,8 +72,7 @@ endchoice # RNG_GENERATOR_CHOICE
|
|||
# enabling CS generators. ENTROPY_HAS_DRIVER is the flag indicating the
|
||||
# CS entropy source.
|
||||
#
|
||||
config CSPRING_ENABLED
|
||||
# bool "Cryptographically secure RNG functions enabled"
|
||||
config CSPRNG_ENABLED
|
||||
bool
|
||||
default y
|
||||
depends on ENTROPY_HAS_DRIVER
|
||||
|
|
|
@ -85,7 +85,7 @@ ZTEST(rand32_common, test_rand32)
|
|||
"random numbers returned same value with high probability");
|
||||
}
|
||||
|
||||
#if defined(CONFIG_CSPRING_ENABLED)
|
||||
#if defined(CONFIG_CSPRNG_ENABLED)
|
||||
|
||||
printk("Generating bulk fill cryptographically secure random numbers\n");
|
||||
|
||||
|
@ -109,7 +109,7 @@ ZTEST(rand32_common, test_rand32)
|
|||
|
||||
printk("Cryptographically secure random number APIs not enabled\n");
|
||||
|
||||
#endif /* CONFIG_CSPRING_ENABLED */
|
||||
#endif /* CONFIG_CSPRNG_ENABLED */
|
||||
}
|
||||
|
||||
ZTEST_SUITE(rand32_common, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
Loading…
Reference in a new issue