From d160826adaabe82c0f339bbed8550abaeb22e651 Mon Sep 17 00:00:00 2001 From: Georgios Vasilakis Date: Sun, 11 Feb 2024 00:20:27 +0100 Subject: [PATCH] Revert "[nrf noup] boot: zephyr: Enable zeroize ALT func" The mbedtls platform zeorize function is not provided by the CryptoCell anymore so it is not needed. This reverts commit 4c1d75f4ac410eb1c365db873bb4be41cc9329c5. --- boot/zephyr/include/mcuboot-mbedtls-cfg.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/boot/zephyr/include/mcuboot-mbedtls-cfg.h b/boot/zephyr/include/mcuboot-mbedtls-cfg.h index 5afccbccd..2bab537d7 100644 --- a/boot/zephyr/include/mcuboot-mbedtls-cfg.h +++ b/boot/zephyr/include/mcuboot-mbedtls-cfg.h @@ -21,16 +21,6 @@ * the simulator build.rs accordingly. */ -/* - * When the CC3XX_PLATFORM library is enabled we need to - * inform the Mbed TLS library to not compile the - * platform_zeroize function, otherwise we will get - * a multiple definitions error. - */ -#if defined(CONFIG_NRF_CC3XX_PLATFORM) -#define MBEDTLS_PLATFORM_ZEROIZE_ALT -#endif - #if defined(CONFIG_BOOT_SIGNATURE_TYPE_RSA) || defined(CONFIG_BOOT_ENCRYPT_RSA) #include "config-rsa.h" #elif defined(CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256) || \