1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

pkg/qDSA: initial commit

This commit is contained in:
Kaspar Schleiser 2018-03-14 17:31:57 +01:00
parent 136ba53639
commit 300712c1e7
4 changed files with 39 additions and 0 deletions

11
pkg/qDSA/Makefile Normal file
View File

@ -0,0 +1,11 @@
PKG_NAME=qDSA
PKG_URL=https://github.com/RIOT-OS/qDSA.git
PKG_VERSION=dd2392b0c81ce4187fd3e1e2d3e0a4767f75782e
PKG_LICENSE=PD
.PHONY: all
all: git-download
"$(MAKE)" -C $(PKG_BUILDDIR)/$(QDSA_IMPL)
include $(RIOTBASE)/pkg/pkg.mk

3
pkg/qDSA/Makefile.dep Normal file
View File

@ -0,0 +1,3 @@
ifneq (,$(filter atmega_common cortexm_common,$(USEMODULE)))
USEMODULE += qDSA_asm
endif

13
pkg/qDSA/Makefile.include Normal file
View File

@ -0,0 +1,13 @@
ifneq (,$(filter cortexm_common,$(USEMODULE)))
QDSA_IMPL ?= arm
else
ifneq (,$(filter atmega_common,$(USEMODULE)))
QDSA_IMPL ?= avr
else
QDSA_IMPL ?= cref
endif
endif
export QDSA_IMPL
INCLUDES += -I$(PKGDIRBASE)/qDSA/$(QDSA_IMPL)

12
pkg/qDSA/doc.txt Normal file
View File

@ -0,0 +1,12 @@
/**
* @defgroup pkg_qDSA qDSA
* @ingroup pkg
* @ingroup sys
* @brief Small and Secure Digital Signatures with Curve-based Diffie-Hellman Key Pairs
*
* # License
*
* The package code is released to public domain
*
* @see https://www.cs.ru.nl/~jrenes/
*/