Skip to content

Commit cf05199

Browse files
philljjdanielinux
authored andcommitted
Fix lms and xmss build.
1 parent e8ce553 commit cf05199

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

options.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,12 @@ ifeq ($(SIGN),XMSS)
421421
endif
422422
endif
423423

424+
# Only needed if using 3rd party integration. This can be
425+
# removed when wc_lms and wc_xmss become default in wolfboot.
426+
ifneq (,$(filter $(SIGN), LMS XMSS))
427+
CFLAGS +=-DWOLFSSL_EXPERIMENTAL_SETTINGS
428+
endif
429+
424430
ifeq ($(RAM_CODE),1)
425431
CFLAGS+= -D"RAM_CODE"
426432
endif

tools/keytools/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ ifeq ($(SIGN),XMSS)
3333
-DXMSS_PARAMS=\"$(XMSS_PARAMS)\"
3434
endif
3535

36+
# Only needed if using 3rd party integration. This can be
37+
# removed when wc_lms and wc_xmss become default in wolfboot.
38+
ifneq (,$(filter $(SIGN), LMS XMSS))
39+
CFLAGS +=-DWOLFSSL_EXPERIMENTAL_SETTINGS
40+
endif
3641

3742
# option variables
3843
DEBUG_FLAGS = -g -DDEBUG -DDEBUG_SIGNTOOL -DDEBUG_WOLFSSL -DDEBUG_WOLFSSL_VERBOSE

0 commit comments

Comments
 (0)