@@ -20,6 +20,9 @@ RENODE_BINASSEMBLE=tools/bin-assemble/bin-assemble
2020LMS_OPTS=LMS_LEVELS =2 LMS_HEIGHT=5 LMS_WINTERNITZ=8 WOLFBOOT_SMALL_STACK=0 \
2121 IMAGE_SIGNATURE_SIZE=2644 IMAGE_HEADER_SIZE=5288
2222
23+ XMSS_OPTS=XMSS_PARAMS ='XMSS-SHA2_10_256' WOLFBOOT_SMALL_STACK=0 \
24+ IMAGE_SIGNATURE_SIZE=2500 IMAGE_HEADER_SIZE=5000
25+
2326# python version only supported using
2427# KEYGEN_TOOL="python3 $(WOLFBOOT_ROOT)/tools/keytools/keygen.py"
2528ifeq ("$(KEYGEN_TOOL ) ","")
@@ -97,6 +100,10 @@ ifeq ($(SIGN),LMS)
97100 SIGN_ARGS+ = --lms
98101endif
99102
103+ ifeq ($(SIGN ) ,XMSS)
104+ SIGN_ARGS+ = --xmss
105+ endif
106+
100107ifeq ($(HASH ) ,SHA256)
101108 SIGN_ARGS+ = --sha256
102109endif
@@ -260,6 +267,9 @@ renode-factory-rsa4096: FORCE
260267renode-factory-lms : FORCE
261268 make renode-factory SIGN=LMS $(LMS_OPTS )
262269
270+ renode-factory-xmss : FORCE
271+ make renode-factory SIGN=XMSS $(XMSS_OPTS )
272+
263273renode-factory-all : FORCE
264274 ${Q} make keysclean
265275 ${Q} make renode-factory-ed25519
@@ -303,6 +313,9 @@ renode-update-rsa4096: FORCE
303313renode-update-lms : FORCE
304314 make renode-update SIGN=LMS $(LMS_OPTS )
305315
316+ renode-update-xmss : FORCE
317+ make renode-update SIGN=XMSS $(XMSS_OPTS )
318+
306319renode-no-downgrade-ed25519 : FORCE
307320 make renode-no-downgrade SIGN=ED448
308321
@@ -324,6 +337,9 @@ renode-no-downgrade-rsa4096: FORCE
324337renode-no-downgrade-lms : FORCE
325338 make renode-no-downgrade SIGN=LMS $(LMS_OPTS )
326339
340+ renode-no-downgrade-xmss : FORCE
341+ make renode-no-downgrade SIGN=XMSS $(XMSS_OPTS )
342+
327343renode-corrupted-ed25519 : FORCE
328344 make renode-corrupted SIGN=ED448
329345
@@ -345,6 +361,9 @@ renode-corrupted-rsa4096: FORCE
345361renode-corrupted-lms : FORCE
346362 make renode-corrupted SIGN=LMS $(LMS_OPTS )
347363
364+ renode-corrupted-xmss : FORCE
365+ make renode-corrupted SIGN=XMSS $(XMSS_OPTS )
366+
348367renode-boot-time-all : FORCE
349368 tools/scripts/renode-test-all.sh 2> /dev/null | grep " BOOT TIME"
350369
@@ -368,6 +387,7 @@ renode-update-all: FORCE
368387 ${Q} make keysclean
369388 ${Q} make renode-update-lms RENODE_PORT=55164
370389 ${Q} make keysclean
390+ ${Q} make renode-update-xmss RENODE_PORT=55165
371391 ${Q} echo All tests in $@ OK!
372392
373393renode-no-downgrade-all : FORCE
@@ -389,6 +409,8 @@ renode-no-downgrade-all: FORCE
389409 ${Q} make renode-no-downgrade SIGN=NONE RENODE_PORT=55163
390410 ${Q} make keysclean
391411 ${Q} make renode-no-downgrade-lms RENODE_PORT=55164
412+ ${Q} make keysclean
413+ ${Q} make renode-no-downgrade-xmss RENODE_PORT=55165
392414 ${Q} echo All tests in $@ OK!
393415
394416renode-corrupted-all : FORCE
@@ -410,6 +432,8 @@ renode-corrupted-all: FORCE
410432 ${Q} make renode-corrupted SIGN=NONE RENODE_PORT=55163
411433 ${Q} make keysclean
412434 ${Q} make renode-corrupted-lms RENODE_PORT=55164
435+ ${Q} make keysclean
436+ ${Q} make renode-corrupted-xmss RENODE_PORT=55165
413437 ${Q} echo All tests in $@ OK!
414438
415439renode-update-all-armored : FORCE
0 commit comments