Skip to content

Commit

Permalink
New ECC curve spec size (fixes SMALL_STACK + ECC256)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Oct 11, 2024
1 parent 6cfa152 commit a4280d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct xmalloc_slot {
/* SP MATH */
#ifdef WOLFBOOT_SIGN_ECC256
#define MP_SCHEME "SP ECC256"
#define MP_CURVE_SPECS_SIZE (76)
#define MP_CURVE_SPECS_SIZE (72)
#ifdef WOLFSSL_SP_ARM_CORTEX_M_ASM
#define MP_POINT_SIZE (196)
#define MP_DIGITS_BUFFER_SIZE_0 (MP_DIGIT_SIZE * 18 * 8)
Expand Down

0 comments on commit a4280d6

Please sign in to comment.