Skip to content

Commit 17da68f

Browse files
SebastianBoeoss-history
authored andcommitted
[nrf fromlist] zephyr: rsa: Use a smaller sha256 implementation
Reduce the size of the sha256 implementation by 1300 bytes by using a slower implementation. mcu-tools/mcuboot#1283 Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> (cherry picked from commit 296af28)
1 parent 986e818 commit 17da68f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

boot/zephyr/include/config-rsa.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
#define MBEDTLS_MD_C
6565
#define MBEDTLS_OID_C
6666
#define MBEDTLS_SHA256_C
67+
#define MBEDTLS_SHA256_SMALLER
6768
#define MBEDTLS_SHA224_C
6869
#define MBEDTLS_AES_C
6970

0 commit comments

Comments
 (0)