2017-07-10 21:33:07 +02:00
|
|
|
MODULE = wolfcrypt
|
|
|
|
|
2020-06-12 09:45:55 +02:00
|
|
|
CFLAGS += -Wno-unused
|
|
|
|
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
|
|
CFLAGS += -Wno-unused-parameter
|
|
|
|
endif
|
|
|
|
|
2021-11-03 11:05:31 +01:00
|
|
|
ifeq (native,$(BOARD))
|
|
|
|
CFLAGS += -Wno-array-parameter
|
|
|
|
endif
|
|
|
|
|
2017-07-10 21:33:07 +02:00
|
|
|
SUBMODULES += 1
|
|
|
|
|
|
|
|
NO_AUTO_SRC = 1
|
|
|
|
|
|
|
|
#-------------------------------------------------------------#
|
|
|
|
# Default CRYPTO source files #
|
|
|
|
#-------------------------------------------------------------#
|
|
|
|
SRC += error.c \
|
|
|
|
hash.c \
|
|
|
|
logging.c \
|
|
|
|
wc_encrypt.c \
|
|
|
|
wc_port.c \
|
|
|
|
wolfmath.c
|
|
|
|
|
|
|
|
#-------------------------------------------------------------#
|
|
|
|
# Optional CRYPTO source files, enabled by default #
|
|
|
|
#-------------------------------------------------------------#
|
|
|
|
|
|
|
|
# Enabled by default
|
|
|
|
SRC += sha.c
|
|
|
|
SRC += sha256.c
|
|
|
|
SRC += fe_low_mem.c
|
|
|
|
SRC += ge_low_mem.c
|
|
|
|
SRC += sp_int.c
|
|
|
|
SRC += sp_c32.c
|
|
|
|
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.base
|