Skip to content

Commit

Permalink
Updated memory pool size to wolfSSL v5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Jul 26, 2022
1 parent f6eeb8d commit 829fd1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct xmalloc_slot {
#ifndef USE_FAST_MATH
/* SP MATH */
#ifdef WOLFBOOT_SIGN_ECC256
#define MP_CURVE_SPECS_SIZE (152)
#define MP_CURVE_SPECS_SIZE (80)
#ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM
#define MP_POINT_SIZE (196)
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 8)
Expand All @@ -76,7 +76,7 @@ struct xmalloc_slot {
#endif
#endif /* WOLFBOOT_SIGN_ECC256 */
#ifdef WOLFBOOT_SIGN_ECC384
#define MP_CURVE_SPECS_SIZE (152)
#define MP_CURVE_SPECS_SIZE (112)
#ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM
#define MP_POINT_SIZE (292)
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 12)
Expand Down

0 comments on commit 829fd1c

Please sign in to comment.