File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4343 - name : RSA4096-SHA512
4444 keygen : --rsa4096
4545 sign : --rsa4096 --sha3
46- config : SIGN=RSA4096 HASH=SHA3
46+ config : SIGN=RSA4096 HASH=SHA3 WOLFBOOT_HUGE_STACK=1
4747
4848 steps :
4949 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -1095,10 +1095,12 @@ ifeq ($(TARGET),x86_64_efi)
10951095 UPDATE_OBJS: =src/update_ram.o
10961096endif
10971097
1098- ifeq ($(TARGET ) ,sim)
1098+ ifeq ($(ARCH ) ,sim)
10991099 USE_GCC_HEADLESS =0
11001100 LD = gcc
1101- UPDATE_OBJS: =src/update_flash.o
1101+ ifneq ($(TARGET),library)
1102+ UPDATE_OBJS: =src/update_flash.o
1103+ endif
11021104 LD_START_GROUP =
11031105 LD_END_GROUP =
11041106 BOOT_IMG =test-app/image.elf
Original file line number Diff line number Diff line change @@ -215,26 +215,30 @@ extern int tolower(int c);
215215# endif
216216# if defined(WOLFBOOT_SIGN_RSA2048 ) || defined(WOLFBOOT_SIGN_SECONDARY_RSA2048 )
217217# define FP_MAX_BITS (2048 * 2)
218+ # define SP_INT_BITS 2048
218219# define WOLFSSL_SP_NO_3072
219220# define WOLFSSL_SP_NO_4096
220221# define WOLFSSL_SP_2048
221222# endif
222223# if defined(WOLFBOOT_SIGN_RSA3072 ) || defined(WOLFBOOT_SIGN_SECONDARY_RSA3072 )
223224# define FP_MAX_BITS (3072 * 2)
225+ # define SP_INT_BITS 3072
224226# define WOLFSSL_SP_NO_2048
225227# define WOLFSSL_SP_NO_4096
226228# define WOLFSSL_SP_3072
227229# endif
228230
229231# if defined(WOLFBOOT_SIGN_RSA4096 ) || defined(WOLFBOOT_SIGN_SECONDARY_RSA4096 )
230232# define FP_MAX_BITS (4096 * 2)
233+ # define SP_INT_BITS 4096
231234# define WOLFSSL_SP_NO_2048
232235# define WOLFSSL_SP_NO_3072
233236# define WOLFSSL_SP_4096
234237# endif
235238# ifdef WOLFCRYPT_SECURE_MODE
236239# undef FP_MAX_BITS
237240# define FP_MAX_BITS (4096 * 2)
241+ # define SP_INT_BITS 4096
238242# define WOLFSSL_SP_2048
239243# define WOLFSSL_SP_3072
240244# define WOLFSSL_SP_4096
You can’t perform that action at this time.
0 commit comments