diff --git a/pkg/semtech-loramac/Makefile.dep b/pkg/semtech-loramac/Makefile.dep index 1bd02cfb96..16eb716643 100644 --- a/pkg/semtech-loramac/Makefile.dep +++ b/pkg/semtech-loramac/Makefile.dep @@ -1,4 +1,6 @@ USEMODULE += random +USEMODULE += hashes +USEMODULE += crypto_aes USEMODULE += semtech_loramac_contrib USEMODULE += semtech_loramac_mac diff --git a/pkg/semtech-loramac/Makefile.loramac_crypto b/pkg/semtech-loramac/Makefile.loramac_crypto index d164ab6dde..93d26d9e19 100644 --- a/pkg/semtech-loramac/Makefile.loramac_crypto +++ b/pkg/semtech-loramac/Makefile.loramac_crypto @@ -1,5 +1,7 @@ MODULE = semtech_loramac_crypto +SRC = cmac.c + INCLUDES += -I$(PKGDIRBASE)/semtech-loramac/src/boards include $(RIOTBASE)/Makefile.base diff --git a/pkg/semtech-loramac/patches/0004-switch-to-riot-aes.patch b/pkg/semtech-loramac/patches/0004-switch-to-riot-aes.patch new file mode 100644 index 0000000000..bceaaaa821 Binary files /dev/null and b/pkg/semtech-loramac/patches/0004-switch-to-riot-aes.patch differ