Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated wolfSSL to latest version #512

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/wolfssl
Submodule wolfssl updated 141 files
12 changes: 6 additions & 6 deletions src/xmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ struct xmalloc_slot {
#define MP_CURVE_SPECS_SIZE (MP_INT_TYPE_SIZE)
#define MP_CURVE_FIELD_COUNT_SIZE (380)
#ifndef _LP64
#define ECC_POINT_SIZE (228)
#define ECC_POINT_SIZE (232)
#else
#define ECC_POINT_SIZE (312)
#define ECC_POINT_SIZE (320)
#define MP_INT_BUFFER_SIZE_1 (MP_INT_TYPE_SIZE * 5)
#endif
#define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 6)
Expand All @@ -150,9 +150,9 @@ struct xmalloc_slot {
#define MP_CURVE_SPECS_SIZE (MP_INT_TYPE_SIZE)
#define MP_CURVE_FIELD_COUNT_SIZE (380)
#ifndef _LP64
#define ECC_POINT_SIZE (408)
#define ECC_POINT_SIZE (412)
#else
#define ECC_POINT_SIZE (504)
#define ECC_POINT_SIZE (512)
#endif
#define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 5)
#define MP_INT_BUFFER_SIZE_1 (MP_INT_TYPE_SIZE * 6)
Expand All @@ -163,9 +163,9 @@ struct xmalloc_slot {
#define MP_CURVE_SPECS_SIZE (MP_INT_TYPE_SIZE)
#define MP_CURVE_FIELD_COUNT_SIZE (380)
#ifndef _LP64
#define ECC_POINT_SIZE (516)
#define ECC_POINT_SIZE (520)
#else
#define ECC_POINT_SIZE (600)
#define ECC_POINT_SIZE (608)
#endif
#define MP_INT_BUFFER_SIZE (MP_INT_TYPE_SIZE * 5)
#define MP_INT_BUFFER_SIZE_1 (MP_INT_TYPE_SIZE * 6)
Expand Down
2 changes: 1 addition & 1 deletion tools/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ test-size-all:
make keysclean
make test-size SIGN=LMS LMS_LEVELS=2 LMS_HEIGHT=5 LMS_WINTERNITZ=8 \
WOLFBOOT_SMALL_STACK=0 IMAGE_SIGNATURE_SIZE=2644 \
IMAGE_HEADER_SIZE?=5288 LIMIT=7424
IMAGE_HEADER_SIZE?=5288 LIMIT=7504
make keysclean
make test-size SIGN=XMSS XMSS_PARAMS='XMSS-SHA2_10_256' \
IMAGE_SIGNATURE_SIZE=2500 IMAGE_HEADER_SIZE?=4096 \
Expand Down
Loading