Commit 08bd9c72 authored by Valerio Setti's avatar Valerio Setti Committed by Anas Nashif
Browse files

mbedtls: use CSPRNG whenever possible as PSA random source



The main problem of MBEDTLS_PSA_CRYPTO_LEGACY_RNG is that it
brings in some legacy modules (entropy + ctr_drbg/hmac_drbg)
which means extra ROM/RAM footprint.
MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG instead simply calls to the
CSPRNG which makes it definitely smaller.

Signed-off-by: default avatarValerio Setti <vsetti@baylibre.com>
parent ac6d8342
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment