diff --git a/pkg/libcose/Makefile.dep b/pkg/libcose/Makefile.dep index bab895a648..da93126dd0 100644 --- a/pkg/libcose/Makefile.dep +++ b/pkg/libcose/Makefile.dep @@ -2,9 +2,6 @@ USEPKG += nanocbor USEMODULE += libcose_crypt -ifneq (,$(filter libcose_crypt_tweetnacl,$(USEMODULE))) - USEPKG += tweetnacl -endif ifneq (,$(filter libcose_crypt_hacl,$(USEMODULE))) USEPKG += hacl endif diff --git a/pkg/libcose/Makefile.include b/pkg/libcose/Makefile.include index 744210a853..3215fa1c9f 100644 --- a/pkg/libcose/Makefile.include +++ b/pkg/libcose/Makefile.include @@ -1,9 +1,6 @@ INCLUDES += -I$(PKGDIRBASE)/libcose/include CFLAGS += -DUSE_CBOR_CONTEXT -ifneq (,$(filter libcose_crypt_tweetnacl,$(USEMODULE))) - CFLAGS += -DCRYPTO_TWEETNACL -endif ifneq (,$(filter libcose_crypt_hacl,$(USEMODULE))) CFLAGS += -DCRYPTO_HACL endif