Skip to content

Commit

Permalink
pkg/libcose: Update supported crypto submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand authored and kaspar030 committed Jul 10, 2019
1 parent 3852f2e commit dd0356e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/libcose/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions pkg/libcose/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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_%

0 comments on commit dd0356e

Please sign in to comment.