Skip to content

Commit ced5517

Browse files
committed
Fix xmalloc bucket size issue with "SPMATH=1 WOLFBOOT_SMALL_STACK=1"
+ Re-enabled old faulty tests F/366
1 parent 180e53b commit ced5517

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/test-library.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ jobs:
3333
asym: [ed25519, ecc256, ecc384, ecc521, rsa2048, rsa3072, rsa4096, ed448]
3434
hash: [sha256, sha384, sha3]
3535

36-
# See https://github.com/wolfSSL/wolfBoot/issues/614 regarding exclusions:
37-
exclude:
38-
- math: "SPMATH=1 WOLFBOOT_SMALL_STACK=1"
39-
- math: "SPMATHALL=1 WOLFBOOT_SMALL_STACK=1"
40-
4136
steps:
4237
- uses: actions/checkout@v4
4338
with:
@@ -201,4 +196,3 @@ jobs:
201196
fi
202197
203198
echo "Got expected non-zero exit and 'Failure' message."
204-

src/xmalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct xmalloc_slot {
117117
static uint8_t mp_points_3[MP_POINT_SIZE];
118118
#endif
119119
static uint8_t mp_points_0[MP_POINT_SIZE * 2];
120-
static uint8_t mp_points_1[MP_POINT_SIZE * 2];
120+
static uint8_t mp_points_1[MP_POINT_SIZE * 3];
121121
static uint8_t mp_points_2[MP_POINT_SIZE * (16 + 1)];
122122
static uint8_t mp_digits_buffer_0[MP_DIGITS_BUFFER_SIZE_0];
123123
static uint8_t mp_digits_buffer_1[MP_DIGITS_BUFFER_SIZE_1];

0 commit comments

Comments
 (0)