1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/libcose: Update version

introducing an optional dependency on tinycrypt
This commit is contained in:
chrysn 2021-05-10 17:35:03 +02:00
parent f65a9e1306
commit a5d1639a25
4 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PKG_NAME=libcose
PKG_URL=https://github.com/bergzand/libcose
PKG_VERSION=8b5f651c3203682a2d98121cd3e5c844cb2b4c36
PKG_VERSION=3fdf1238987b6aeec113b1872e56307893feeae7
PKG_LICENSE=LGPL
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -10,3 +10,6 @@ endif
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
USEPKG += c25519
endif
ifneq (,$(filter libcose_crypt_tinycrypt,$(USEMODULE)))
USEPKG += tinycrypt
endif

View File

@ -7,6 +7,9 @@ endif
ifneq (,$(filter libcose_crypt_c25519,$(USEMODULE)))
CFLAGS += -DCRYPTO_C25519
endif
ifneq (,$(filter libcose_crypt_tinycrypt,$(USEMODULE)))
CFLAGS += -DCRYPTO_TINYCRYPT
endif
# Declare pseudomodules here to be selfcontained
PSEUDOMODULES += libcose_crypt_%