Skip to content

Commit

Permalink
Reduce wc_lms build size.
Browse files Browse the repository at this point in the history
  • Loading branch information
philljj committed Apr 24, 2024
1 parent 6739f6d commit 0b76cac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,10 @@ ifeq ($(SIGN),LMS)
./lib/wolfssl/wolfcrypt/src/memory.o \
./lib/wolfssl/wolfcrypt/src/wc_port.o \
./lib/wolfssl/wolfcrypt/src/hash.o
CFLAGS+=-D"WOLFBOOT_SIGN_LMS" -D"WOLFSSL_HAVE_LMS" -D"WOLFSSL_WC_LMS" \
CFLAGS+=-D"WOLFBOOT_SIGN_LMS" -D"WOLFSSL_HAVE_LMS" \
-D"WOLFSSL_WC_LMS" -D"WOLFSSL_WC_LMS_SMALL" \
-D"WOLFSSL_LMS_MAX_LEVELS=$(LMS_LEVELS)" \
-D"WOLFSSL_LMS_MAX_HEIGHT=$(LMS_HEIGHT)" \
-D"LMS_LEVELS=$(LMS_LEVELS)" -D"LMS_HEIGHT=$(LMS_HEIGHT)" \
-D"LMS_WINTERNITZ=$(LMS_WINTERNITZ)" -I$(LMSDIR)/src \
-D"IMAGE_SIGNATURE_SIZE"=$(IMAGE_SIGNATURE_SIZE) \
Expand Down

0 comments on commit 0b76cac

Please sign in to comment.