diff --git a/pkg/libcose/Makefile.dep b/pkg/libcose/Makefile.dep index bab895a6489b7..fa4af01a8a899 100644 --- a/pkg/libcose/Makefile.dep +++ b/pkg/libcose/Makefile.dep @@ -8,3 +8,9 @@ endif ifneq (,$(filter libcose_crypt_hacl,$(USEMODULE))) USEPKG += hacl endif +ifneq (,$(filter libcose_crypt_monocypher,$(USEMODULE))) + USEPKG += monocypher +endif +ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE))) + USEPKG += c25519 +endif diff --git a/pkg/libcose/Makefile.include b/pkg/libcose/Makefile.include index 744210a85393a..5013541e6fbd2 100644 --- a/pkg/libcose/Makefile.include +++ b/pkg/libcose/Makefile.include @@ -7,6 +7,12 @@ endif ifneq (,$(filter libcose_crypt_hacl,$(USEMODULE))) CFLAGS += -DCRYPTO_HACL endif +ifneq (,$(filter libcose_crypt_monocypher,$(USEMODULE))) + CFLAGS += -DCRYPTO_MONOCYPHER +endif +ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE))) + CFLAGS += -DCRYPTO_C25519 +endif # Declare pseudomodules here to be selfcontained PSEUDOMODULES += libcose_crypt_%