We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6eeb8d commit 829fd1cCopy full SHA for 829fd1c
src/xmalloc.c
@@ -62,7 +62,7 @@ struct xmalloc_slot {
62
#ifndef USE_FAST_MATH
63
/* SP MATH */
64
#ifdef WOLFBOOT_SIGN_ECC256
65
- #define MP_CURVE_SPECS_SIZE (152)
+ #define MP_CURVE_SPECS_SIZE (80)
66
#ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM
67
#define MP_POINT_SIZE (196)
68
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 8)
@@ -76,7 +76,7 @@ struct xmalloc_slot {
76
#endif
77
#endif /* WOLFBOOT_SIGN_ECC256 */
78
#ifdef WOLFBOOT_SIGN_ECC384
79
+ #define MP_CURVE_SPECS_SIZE (112)
80
81
#define MP_POINT_SIZE (292)
82
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 12)
0 commit comments