pkg/monocypher: bump to version 3.0.0
This commit is contained in:
parent
f5b6544123
commit
535499cc5f
@ -1,6 +1,6 @@
|
|||||||
PKG_NAME=monocypher
|
PKG_NAME=monocypher
|
||||||
PKG_URL=https://github.com/LoupVaillant/Monocypher
|
PKG_URL=https://github.com/LoupVaillant/Monocypher
|
||||||
PKG_VERSION=d9cc2aea29158971ed4b7dc074efdcb35e7183d5
|
PKG_VERSION=ff334e288a667c5cd8500c04d1e2ebd601b9f215
|
||||||
PKG_LICENSE=CC-0
|
PKG_LICENSE=CC-0
|
||||||
|
|
||||||
include $(RIOTBASE)/pkg/pkg.mk
|
include $(RIOTBASE)/pkg/pkg.mk
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
USEMODULE += monocypher_sha512
|
# SHA-512 & ED25519
|
||||||
|
USEMODULE += monocypher_optional
|
||||||
|
|
||||||
# monocypher is only supported by 32 bit architectures
|
# monocypher is only supported by 32 bit architectures
|
||||||
FEATURES_REQUIRED += arch_32bit
|
FEATURES_REQUIRED += arch_32bit
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
INCLUDES += -I$(PKGDIRBASE)/monocypher/src
|
INCLUDES += -I$(PKGDIRBASE)/monocypher/src
|
||||||
INCLUDES += -I$(PKGDIRBASE)/monocypher/src/optional
|
INCLUDES += -I$(PKGDIRBASE)/monocypher/src/optional
|
||||||
|
|
||||||
ifneq (,$(filter monocypher_sha512,$(USEMODULE)))
|
ifneq (,$(filter monocypher_optional,$(USEMODULE)))
|
||||||
CFLAGS += -DED25519_SHA512
|
|
||||||
DIRS += $(PKGDIRBASE)/monocypher/src/optional
|
DIRS += $(PKGDIRBASE)/monocypher/src/optional
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS += -DBLAKE2_NO_UNROLLING
|
||||||
|
|||||||
@ -25,9 +25,8 @@ index 0000000..784d588
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/optional/Makefile
|
+++ b/src/optional/Makefile
|
||||||
@@ -0,0 +1,3 @@
|
@@ -0,0 +1,3 @@
|
||||||
+MODULE := monocypher_sha512
|
+MODULE := monocypher_optional
|
||||||
+
|
+
|
||||||
+include $(RIOTBASE)/Makefile.base
|
+include $(RIOTBASE)/Makefile.base
|
||||||
--
|
--
|
||||||
2.16.4
|
2.16.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user