commit | 08bd9c72bd4f6053129e80ec3798626a859000fe | [log] [tgz] |
---|---|---|
author | Valerio Setti <vsetti@baylibre.com> | Tue Oct 22 21:34:46 2024 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Nov 20 15:59:40 2024 -0500 |
tree | adad04518a60e3a6c6c75f7ee5526cce67687aaa | |
parent | ac6d8342728c8a63f9fea965ce41610618aeed5a [diff] |
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: Valerio Setti <vsetti@baylibre.com>