ed653df573
Fix CVE-2021-20305: A flaw was found in Nettle in versions before 3.7.2, where several Nettle signature verification functions (GOST DSA, EDDSA & ECDSA) result in the Elliptic Curve Cryptography point (ECC) multiply function being called with out-of-range scalers, possibly resulting in incorrect results. This flaw allows an attacker to force an invalid signature, causing an assertion failure or possible validation. The highest threat to this vulnerability is to confidentiality, integrity, as well as system availability. https://git.lysator.liu.se/nettle/nettle/-/blob/nettle_3.7.2_release_20210321/NEWS Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
872 B
Makefile
30 lines
872 B
Makefile
################################################################################
|
|
#
|
|
# nettle
|
|
#
|
|
################################################################################
|
|
|
|
NETTLE_VERSION = 3.7.2
|
|
NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
|
|
NETTLE_DEPENDENCIES = gmp
|
|
NETTLE_INSTALL_STAGING = YES
|
|
NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+
|
|
NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
|
NETTLE_CPE_ID_VENDOR = nettle_project
|
|
# don't include openssl support for (unused) examples as it has problems
|
|
# with static linking
|
|
NETTLE_CONF_OPTS = --disable-openssl
|
|
|
|
# ARM assembly requires v6+ ISA
|
|
ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y)
|
|
NETTLE_CONF_OPTS += --disable-assembler
|
|
endif
|
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
|
NETTLE_CONF_OPTS += --enable-arm-neon
|
|
else
|
|
NETTLE_CONF_OPTS += --disable-arm-neon
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|