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

pkg/monocypher: bump to version 3.0.0

This commit is contained in:
Carton 2020-02-12 12:33:47 +01:00
parent f5b6544123
commit 535499cc5f
4 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
PKG_NAME=monocypher
PKG_URL=https://github.com/LoupVaillant/Monocypher
PKG_VERSION=d9cc2aea29158971ed4b7dc074efdcb35e7183d5
PKG_VERSION=ff334e288a667c5cd8500c04d1e2ebd601b9f215
PKG_LICENSE=CC-0
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -1,4 +1,5 @@
USEMODULE += monocypher_sha512
# SHA-512 & ED25519
USEMODULE += monocypher_optional
# monocypher is only supported by 32 bit architectures
FEATURES_REQUIRED += arch_32bit

View File

@ -1,7 +1,8 @@
INCLUDES += -I$(PKGDIRBASE)/monocypher/src
INCLUDES += -I$(PKGDIRBASE)/monocypher/src/optional
ifneq (,$(filter monocypher_sha512,$(USEMODULE)))
CFLAGS += -DED25519_SHA512
ifneq (,$(filter monocypher_optional,$(USEMODULE)))
DIRS += $(PKGDIRBASE)/monocypher/src/optional
endif
CFLAGS += -DBLAKE2_NO_UNROLLING