Skip to content

Commit b85db48

Browse files
itayzafrirPatater
authored andcommitted
Update adjust-config.sh to enable persistent keys
In adjust-config.h, set and unset Mbed Crypto storage configuration options in order to use persistent keys with PSA ITS storage.
1 parent 1594568 commit b85db48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

features/mbedtls/importer/adjust-config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,8 @@ conf unset MBEDTLS_SSL_TRUNCATED_HMAC
140140

141141
conf unset MBEDTLS_PLATFORM_TIME_TYPE_MACRO
142142

143+
# The following configurations are a needed for Mbed Crypto submodule.
144+
# They are related to the persistent key storage feature.
145+
conf set MBEDTLS_PSA_CRYPTO_STORAGE_C
146+
conf set MBEDTLS_PSA_CRYPTO_STORAGE_ITS_C
147+
conf unset MBEDTLS_PSA_CRYPTO_STORAGE_FILE_C

0 commit comments

Comments
 (0)