File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -232,13 +232,17 @@ extern int tolower(int c);
232232# define WOLFSSL_SP_NO_3072
233233# define WOLFSSL_SP_NO_4096
234234# define WOLFSSL_SP_2048
235+ # define RSA_MIN_SIZE 2048
236+ # define RSA_MAX_SIZE 2048
235237# endif
236238# if defined(WOLFBOOT_SIGN_RSA3072 ) || defined(WOLFBOOT_SIGN_SECONDARY_RSA3072 )
237239# define FP_MAX_BITS (3072 * 2)
238240# define SP_INT_BITS 3072
239241# define WOLFSSL_SP_NO_2048
240242# define WOLFSSL_SP_NO_4096
241243# define WOLFSSL_SP_3072
244+ # define RSA_MIN_SIZE 3072
245+ # define RSA_MAX_SIZE 3072
242246# endif
243247
244248# if defined(WOLFBOOT_SIGN_RSA4096 ) || defined(WOLFBOOT_SIGN_SECONDARY_RSA4096 )
@@ -247,6 +251,8 @@ extern int tolower(int c);
247251# define WOLFSSL_SP_NO_2048
248252# define WOLFSSL_SP_NO_3072
249253# define WOLFSSL_SP_4096
254+ # define RSA_MIN_SIZE 4096
255+ # define RSA_MAX_SIZE 4096
250256# endif
251257# ifdef WOLFCRYPT_SECURE_MODE
252258# undef FP_MAX_BITS
@@ -255,6 +261,8 @@ extern int tolower(int c);
255261# define WOLFSSL_SP_2048
256262# define WOLFSSL_SP_3072
257263# define WOLFSSL_SP_4096
264+ # define RSA_MIN_SIZE 2048
265+ # define RSA_MAX_SIZE 4096
258266# endif
259267#else
260268# define NO_RSA
Original file line number Diff line number Diff line change @@ -50,5 +50,5 @@ SECTIONS
5050}
5151
5252PROVIDE (_start_heap = _end);
53- PROVIDE (_heap_size = 8K );
53+ PROVIDE (_heap_size = 4K );
5454PROVIDE (_end_stack = ORIGIN (RAM) + LENGTH(RAM));
Original file line number Diff line number Diff line change @@ -50,5 +50,5 @@ SECTIONS
5050}
5151
5252PROVIDE (_start_heap = _end);
53- PROVIDE (_heap_size = 8K );
53+ PROVIDE (_heap_size = 4K );
5454PROVIDE (_end_stack = ORIGIN (RAM) + LENGTH(RAM));
You can’t perform that action at this time.
0 commit comments