mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4cef100781
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
24 lines
636 B
Makefile
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
|