1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/edhoc-c/Makefile.include
Francisco Molina 4cef100781
pkg/edhoc-c: initial commit
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2021-06-08 14:34:31 +02:00

24 lines
636 B
Makefile

INCLUDES += -I$(PKGDIRBASE)/EDHOC-C/include \
-I$(PKGDIRBASE)/EDHOC-C/src \
-I$(RIOTBASE)/pkg/edhoc-c/include \
#
ifneq (,$(filter edhoc-c_crypto_wolfssl,$(USEMODULE)))
CFLAGS += -DHAVE_AESCCM
CFLAGS += -DHAVE_HKDF
CFLAGS += -DWOLFSSL
endif
ifneq (,$(filter edhoc-c_crypto_tinycrypt,$(USEMODULE)))
CFLAGS += -DTINYCRYPT
endif
ifneq (,$(filter edhoc-c_cbor_nanocbor,$(USEMODULE)))
CFLAGS += -DNANOCBOR
endif
# EDHOC-C configuration file for RIOT
CFLAGS += -DEDHOC_CONFIG_FILE=\"edhoc_config.h\"
# X509 backend in EDHOC-C is mbedtls currently not supported in RIOT
CFLAGS += -DEMPTY_X509