Skip to content

Commit 829fd1c

Browse files
committed
Updated memory pool size to wolfSSL v5.4.0
1 parent f6eeb8d commit 829fd1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xmalloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct xmalloc_slot {
6262
#ifndef USE_FAST_MATH
6363
/* SP MATH */
6464
#ifdef WOLFBOOT_SIGN_ECC256
65-
#define MP_CURVE_SPECS_SIZE (152)
65+
#define MP_CURVE_SPECS_SIZE (80)
6666
#ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM
6767
#define MP_POINT_SIZE (196)
6868
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 8)
@@ -76,7 +76,7 @@ struct xmalloc_slot {
7676
#endif
7777
#endif /* WOLFBOOT_SIGN_ECC256 */
7878
#ifdef WOLFBOOT_SIGN_ECC384
79-
#define MP_CURVE_SPECS_SIZE (152)
79+
#define MP_CURVE_SPECS_SIZE (112)
8080
#ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM
8181
#define MP_POINT_SIZE (292)
8282
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 12)

0 commit comments

Comments
 (0)