Skip to content

Commit

Permalink
Revert "[nrf noup] boot: zephyr: Enable zeroize ALT func"
Browse files Browse the repository at this point in the history
The mbedtls platform zeroize function is not provided by
the CryptoCell anymore so it is not needed.
This reverts commit 4c1d75f.
  • Loading branch information
Vge0rge authored and carlescufi committed Feb 16, 2024
1 parent a9d5fa7 commit 3fe867f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions boot/zephyr/include/mcuboot-mbedtls-cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) || \
Expand Down

0 comments on commit 3fe867f

Please sign in to comment.