Skip to content

Commit ac9e2b8

Browse files
committed
Updated SP build options and stack usage warning.
1 parent fae6a97 commit ac9e2b8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ifeq ($(SIGN),RSA2048)
7373
./src/rsa2048_pub_key.o \
7474
./src/xmalloc_rsa.o
7575
CFLAGS+=-DWOLFBOOT_SIGN_RSA2048 -DXMALLOC_USER $(RSA_EXTRA_CFLAGS) \
76-
-Wstack-usage=4096 -DIMAGE_HEADER_SIZE=512
76+
-Wstack-usage=12288 -DIMAGE_HEADER_SIZE=512
7777
endif
7878

7979

include/user_settings.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,13 @@
8787
#ifdef WOLFBOOT_SIGN_RSA2048
8888
# define HAVE_RSA
8989
# define RSA_LOW_MEM
90-
# define WOLFSSL_STATIC_RSA
9190
# define WOLFSSL_RSA_VERIFY_INLINE
92-
//# define WOLFSSL_RSA_PUBLIC_ONLY
93-
//# define WOLFSSL_RSA_VERIFY_ONLY
9491
# define WOLFSSL_HAVE_SP_RSA
9592
# define WOLFSSL_SP
9693
# define WOLFSSL_SP_SMALL
9794
# define WOLFSSL_SP_MATH
9895
# define SP_WORD_SIZE 32
96+
# define WOLFSSL_SP_NO_3072
9997
#endif
10098

10199
/* Disables - For minimum wolfCrypt build */

0 commit comments

Comments
 (0)