Skip to content

Commit

Permalink
net: lib: hostap_crypto: Enable PSA support for RNG
Browse files Browse the repository at this point in the history
As part of moving away from using the legacy Mbed TLS APIs
in ctr_drbg.c and entropy.c, enable PSA support to generate
random numbers.

Fixes NCSDK-31802.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
  • Loading branch information
rado17 authored and nordicjm committed Feb 17, 2025
1 parent 59b9dd6 commit f5f420f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions subsys/net/lib/hostap_crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,17 @@ config HOSTAP_CRYPTO_ALT_LEGACY
bool "Legacy Crypto support for WiFi using nRF security"
select MBEDTLS
select NRF_SECURITY
select PSA_WANT_GENERATE_RANDOM
select MBEDTLS_CIPHER_MODE_CBC
select MBEDTLS_CIPHER_MODE_CTR
select MBEDTLS_LEGACY_CRYPTO_C
select MBEDTLS_ENTROPY_C
select MBEDTLS_CIPHER
select MBEDTLS_ECP_C
select MBEDTLS_CTR_DRBG_C
select MBEDTLS_PK_WRITE_C
select MBEDTLS_HKDF_C
select MBEDTLS_KEY_EXCHANGE_ALL_ENABLED
select MBEDTLS_MD_C
select MBEDTLS_MD5_C
select MBEDTLS_ENTROPY_C
select MBEDTLS_CIPHER_PADDING_PKCS7
select MBEDTLS_PKCS5_C

Expand Down

0 comments on commit f5f420f

Please sign in to comment.