Hi,

 

I see “CRYPTO_TFM_BUILTIN_KEYS_DRIVER” mentioned in the documentation but where is  “CRYPTO_BUILTIN_KEYS” defined?   And should those target props be formatted as “${prop}”?

 

target_compile_definitions(tfm_psa_rot_partition_crypto

    PUBLIC

        MBEDTLS_PSA_CRYPTO_DRIVERS

        MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS

        $<$<BOOL:CRYPTO_BUILTIN_KEYS>:PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY>

    PRIVATE

        $<$<STREQUAL:${CRYPTO_HW_ACCELERATOR_TYPE},cc312>:CRYPTO_HW_ACCELERATOR_CC312>

        MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER

)

 

 

https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/secure_fw/partitions/crypto/CMakeLists.txt#n66

 

Regards,

 

Brian Quach

SimpleLink MCU

Texas Instruments Inc.