diff options
author | Summer Qin <summer.qin@arm.com> | 2021-07-05 18:11:50 +0800 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2021-07-21 09:22:38 +0200 |
commit | 359167d3a2fe109adb9fae3a086864489fdc1005 (patch) | |
tree | 5771dce1c2764d8b54848c04edca93d0bf92972b /config | |
parent | ed503e125fd3f6fcb7b7d2f820b7b6b064f61ebe (diff) | |
download | trusted-firmware-m-359167d3a2fe109adb9fae3a086864489fdc1005.tar.gz |
Crypto: Upgrade mbedtls to v3.0.0
- Remove deprecated macros and functions
- Enable SHA-224 cryptographic hash algorithm by 'define
MBEDTLS_SHA224_C'
- Enable SHA-384 cryptographic hash algorithm by 'define
MBEDTLS_SHA384_C'
- 'psa_cipher_encrypt' and 'psa_cipher_decrypt' is supported by
mbedtls-3.0.0
- 'psa_mac_compute' and 'psa_mac_verify' is supported by mbedtls-3.0.0
- mbedtls-3.0.0 changes some internal mbedtls apis' name, mcuboot needs
to align.
Change-Id: Ia868c93deceee6c8042607acf35ce2f4c9c15e35
Signed-off-by: Summer Qin <summer.qin@arm.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/config_default.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config_default.cmake b/config/config_default.cmake index 9ba4fc8a66..f32220e26b 100644 --- a/config/config_default.cmake +++ b/config/config_default.cmake @@ -174,7 +174,7 @@ set(ATTEST_TEST_GET_PUBLIC_KEY OFF CACHE BOOL "Require to ################################## Dependencies ################################ set(MBEDCRYPTO_PATH "DOWNLOAD" CACHE PATH "Path to Mbed Crypto (or DOWNLOAD to fetch automatically") -set(MBEDCRYPTO_VERSION "mbedtls-2.26.0" CACHE STRING "The version of Mbed Crypto to use") +set(MBEDCRYPTO_VERSION "mbedtls-3.0.0" CACHE STRING "The version of Mbed Crypto to use") set(MBEDCRYPTO_GIT_REMOTE "https://github.com/ARMmbed/mbedtls.git" CACHE STRING "The URL (or path) to retrieve MbedTLS from.") set(MBEDCRYPTO_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING "Build type of Mbed Crypto library") set(TFM_MBEDCRYPTO_CONFIG_PATH "${CMAKE_SOURCE_DIR}/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_default.h" CACHE PATH "Config to use for Mbed Crypto") @@ -188,7 +188,7 @@ set(MCUBOOT_PATH "DOWNLOAD" CACHE PATH "Path to MCU set(MCUBOOT_VERSION "4f80913" CACHE STRING "The version of MCUboot to use") set(PSA_ARCH_TESTS_PATH "DOWNLOAD" CACHE PATH "Path to PSA arch tests (or DOWNLOAD to fetch automatically") -set(PSA_ARCH_TESTS_VERSION "02d145d" CACHE STRING "The version of PSA arch tests to use") +set(PSA_ARCH_TESTS_VERSION "v21.07_API1.2_ADAC_ALPHA" CACHE STRING "The version of PSA arch tests to use") ################################################################################ ################################################################################ |