From a3cbeee9ce4f84ce321ea2359da927d7ce238589 Mon Sep 17 00:00:00 2001 From: Oleg Artamonov Date: Wed, 10 Oct 2018 09:31:46 +0300 Subject: [PATCH] pkg/semtech-loramac: switch to RIOT AES --- pkg/semtech-loramac/Makefile.dep | 2 ++ pkg/semtech-loramac/Makefile.loramac_crypto | 2 ++ .../patches/0004-switch-to-riot-aes.patch | Bin 0 -> 7419 bytes 3 files changed, 4 insertions(+) create mode 100644 pkg/semtech-loramac/patches/0004-switch-to-riot-aes.patch 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 0000000000000000000000000000000000000000..bceaaaa82148b75fd3a4735141c58dfc136f04de GIT binary patch literal 7419 zcmc&3YjfI2@;g=e4}F`eEEoZjcsq&94u;rkJKi!}t*;y(C8WX38YD^*PQ1ze_v@a~ zh!GE)@|N!?M~XDvJ^g-+dSNhwv12#uqtU2k*V|*S>UnOv-7v?kI&0TPUaeMRmRYTN zRk#Rz=(9OkO)$-U@dvhPTDcyQ*@w$1yMv=Jc4mPeJivzlpAQ%QH!mu?!R#P+?8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