mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-28 00:35:21 +00:00
261baa8e9f
If MBEDTLS_PSA_STATIC_KEY_SLOTS is set then limit PSA_CRYPTO_MAX_STORAGE_SIZE to MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE, otherwise keep the previous PSA_BITS_TO_BYTES(PSA_MAX_KEY_BITS) size. This commit also removes changes to test_suite_psa_crypto_persistent_key.data done previously since MBEDTLS_PSA_STATIC_KEY_SLOTS is always up to date with key buffer size. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>