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

pkg/qdsa: force qdsa to lowercase

This commit is contained in:
MrKevinWeiss 2021-06-15 12:01:06 +02:00
parent 13eb3f05c5
commit 0345f97962
9 changed files with 19 additions and 15 deletions

View File

@ -31,7 +31,7 @@ rsource "monocypher/Kconfig"
rsource "nanocbor/Kconfig" rsource "nanocbor/Kconfig"
rsource "nanopb/Kconfig" rsource "nanopb/Kconfig"
rsource "qcbor/Kconfig" rsource "qcbor/Kconfig"
rsource "qDSA/Kconfig" rsource "qdsa/Kconfig"
rsource "qr-code-generator/Kconfig" rsource "qr-code-generator/Kconfig"
rsource "relic/Kconfig" rsource "relic/Kconfig"
rsource "semtech-loramac/Kconfig" rsource "semtech-loramac/Kconfig"

View File

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

9
pkg/qdsa/Makefile Normal file
View File

@ -0,0 +1,9 @@
PKG_NAME=qdsa
PKG_URL=https://github.com/RIOT-OS/qdsa.git
PKG_VERSION=4cb3f1a140f25e18ed288fd484defe3d45bdf166
PKG_LICENSE=PD
include $(RIOTBASE)/pkg/pkg.mk
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/$(QDSA_IMPL)

View File

@ -1,9 +1,9 @@
ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE))) ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
USEMODULE += qDSA_asm USEMODULE += qdsa_asm
endif endif
ifneq (,$(filter arch_avr8,$(FEATURES_USED))) ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
USEMODULE += qDSA_asm USEMODULE += qdsa_asm
endif endif
# qDsa is not 16 bit compatible # qDsa is not 16 bit compatible

View File

@ -10,7 +10,7 @@ endif
export QDSA_IMPL export QDSA_IMPL
INCLUDES += -I$(PKGDIRBASE)/qDSA/$(QDSA_IMPL) INCLUDES += -I$(PKGDIRBASE)/qdsa/$(QDSA_IMPL)
ifeq (cortex-m0plus,$(CPU_CORE)) ifeq (cortex-m0plus,$(CPU_CORE))
# There are problems with the LLVM assembler and the Cortex-M0+ instruction # There are problems with the LLVM assembler and the Cortex-M0+ instruction

View File

@ -1,5 +1,5 @@
/** /**
* @defgroup pkg_qDSA qDSA * @defgroup pkg_qdsa qdsa
* @ingroup pkg * @ingroup pkg
* @ingroup sys * @ingroup sys
* @brief Small and Secure Digital Signatures with Curve-based Diffie-Hellman Key Pairs * @brief Small and Secure Digital Signatures with Curve-based Diffie-Hellman Key Pairs

View File

@ -2,7 +2,7 @@ include ../Makefile.tests_common
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT\) CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT\)
USEPKG += qDSA USEPKG += qdsa
USEMODULE += random USEMODULE += random
USEMODULE += embunit USEMODULE += embunit

View File

@ -1,3 +1,7 @@
CONFIG_MODULE_EMBUNIT=y CONFIG_MODULE_EMBUNIT=y
CONFIG_MODULE_RANDOM=y CONFIG_MODULE_RANDOM=y
# Should be autoselecting the MODULE_PRNG_HWRNG if possible
# Since the makefile cannot we have to override until end of migration
# Remove when TEST_KCONFIG is complete
CONFIG_MODULE_PRNG_TINYMT32=y
CONFIG_PACKAGE_QDSA=y CONFIG_PACKAGE_QDSA=y