Merge pull request #16552 from MrKevinWeiss/pr/fix/kconfigqdsa

pkg/qdsa: force qdsa to lowercase
This commit is contained in:
Kevin "Tristate Tom" Weiss 2021-06-15 15:21:26 +02:00 committed by GitHub
commit 0c06948373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 20 additions and 16 deletions

View File

@ -50,7 +50,7 @@ tests/pkg_minmea
tests/pkg_monocypher
tests/pkg_nanocbor
tests/pkg_nanopb
tests/pkg_qDSA
tests/pkg_qdsa
tests/pkg_qcbor
tests/pkg_qr-code-generator
tests/pkg_relic

View File

@ -31,7 +31,7 @@ rsource "monocypher/Kconfig"
rsource "nanocbor/Kconfig"
rsource "nanopb/Kconfig"
rsource "qcbor/Kconfig"
rsource "qDSA/Kconfig"
rsource "qdsa/Kconfig"
rsource "qr-code-generator/Kconfig"
rsource "relic/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)))
USEMODULE += qDSA_asm
USEMODULE += qdsa_asm
endif
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
USEMODULE += qDSA_asm
USEMODULE += qdsa_asm
endif
# qDsa is not 16 bit compatible

View File

@ -10,7 +10,7 @@ endif
export QDSA_IMPL
INCLUDES += -I$(PKGDIRBASE)/qDSA/$(QDSA_IMPL)
INCLUDES += -I$(PKGDIRBASE)/qdsa/$(QDSA_IMPL)
ifeq (cortex-m0plus,$(CPU_CORE))
# 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 sys
* @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\)
USEPKG += qDSA
USEPKG += qdsa
USEMODULE += random
USEMODULE += embunit

View File

@ -1,3 +1,7 @@
CONFIG_MODULE_EMBUNIT=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