Skip to content

Commit 2e1cf49

Browse files
Jayashree-Srinivasan-aditomi-font
authored andcommitted
platform: ext: adi: Enable Single Part Functions for PS Encryption
Default small profile configurations does not support Protected Storage encryption. This commit enables single part functions in crypto library needed for PS Encryption. Algorithms needs for PS Encryption and Key derivation are done in zephyr configuration. Furthermore, 16KB flash is provided for PS. Change-Id: Idf4893caa75eb50bd6042c2a097ad73ccce5fb68 Signed-off-by: Jayashree Srinivasan <[email protected]> (cherry picked from commit 97882fd395325f6b616c430b717fb3ff12c54dbb)
1 parent 88630a7 commit 2e1cf49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

platform/ext/target/adi/max32657/config.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ if (CONFIG_TFM_PROFILE_SMALL)
3939
# to ensure that initial attestation testcases in regression build passes
4040
add_compile_definitions(CRYPTO_ENGINE_BUF_SIZE=0x500)
4141
endif()
42+
43+
if(TFM_PARTITION_PROTECTED_STORAGE)
44+
# Enable single part functions in crypto library needed for PS Encryption
45+
set(CRYPTO_SINGLE_PART_FUNCS_DISABLED OFF CACHE BOOL "Disable single part functions in crypto library")
46+
endif()

0 commit comments

Comments
 (0)