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:
Flavio Ceolin 2023-09-22 14:04:03 -07:00 committed by Maureen Helm
parent 23106b81c8
commit 646a06c9fe
7 changed files with 8 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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);