mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-04-23 17:32:58 +02:00
Upgrade to mbedtls v3.6.3 and fix git subscripts.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -124,7 +124,7 @@ if(NOT ESP_PLATFORM)
|
||||
add_definitions(-DMBEDTLS_ECP_DP_ED25519_ENABLED=1 -DMBEDTLS_ECP_DP_ED448_ENABLED=1 -DMBEDTLS_EDDSA_C=1 -DMBEDTLS_SHA3_C=1)
|
||||
else()
|
||||
set(MBEDTLS_ORIGIN "https://github.com/Mbed-TLS/mbedtls.git")
|
||||
set(MBEDTLS_REF "v3.6.2")
|
||||
set(MBEDTLS_REF "v3.6.3")
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
@@ -134,7 +134,7 @@ if(NOT ESP_PLATFORM)
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND git submodule update --init --recursive pico-keys-sdk
|
||||
COMMAND git -C ${MBEDTLS_PATH} submodule update --init --recursive pico-keys-sdk
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_QUIET ERROR_QUIET
|
||||
)
|
||||
@@ -167,6 +167,12 @@ if(NOT ESP_PLATFORM)
|
||||
OUTPUT_QUIET ERROR_QUIET
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND rm -rf ${MBEDTLS_PATH}/framework
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_QUIET ERROR_QUIET
|
||||
)
|
||||
|
||||
if(ENABLE_EDDSA)
|
||||
execute_process(
|
||||
COMMAND git -C ${MBEDTLS_PATH} checkout -B ${MBEDTLS_REF} --track origin/${MBEDTLS_REF}
|
||||
|
||||
Reference in New Issue
Block a user