Skip to content

Commit 296af28

Browse files
committed
[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 <[email protected]>
1 parent 9f89c32 commit 296af28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)