changes to get aarch64 to link

This commit is contained in:
christos 2023-05-11 14:36:11 +00:00
parent a09aac5f84
commit dd97656630
5 changed files with 6 additions and 5 deletions

View File

@ -49,9 +49,11 @@ extern "C" {
# ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
# endif
#if 0
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
# define OPENSSL_NO_EC_NISTP_64_GCC_128
# endif
#endif
# ifndef OPENSSL_NO_EGD
# define OPENSSL_NO_EGD
# endif

View File

@ -1,4 +1,4 @@
.PATH.S: ${.PARSEDIR}
EC_SRCS += ecp_nistz256-armv8.S
EC_SRCS += ecp_nistz256-armv8.S
ECNI = yes
.include "../../ec.inc"

View File

@ -1,4 +1,3 @@
.PATH.S: ${.PARSEDIR}
MODES_SRCS += ghashv8-armx.S
MODESCPPFLAGS = -DGHASH_ASM
.include "../../modes.inc"

View File

@ -3,7 +3,7 @@ EC_SRCS += \
ecp_nistz256-x86_64.S \
x25519-x86_64.S
ECCPPFLAGS+= -DX25519_ASM
ECCPPFLAGS+= -DX25519_ASM -DOPENSSL_NO_EC_NISTP_64_GCC_128
ECNI = yes
.include "../../ec.inc"

View File

@ -1,4 +1,4 @@
# $NetBSD: ec.inc,v 1.8 2023/05/06 17:07:22 christos Exp $
# $NetBSD: ec.inc,v 1.9 2023/05/11 14:36:11 christos Exp $
.PATH: ${OPENSSLSRC}/crypto/ec
@ -37,7 +37,7 @@ ecx_meth.c \
.if defined(ECNI)
COPTS.ecp_nistz256.c+=-Wno-error=stack-protector
EC_SRCS+= ecp_nistz256.c
EC_SRCS+= ecp_nistz256.c ecp_nistp224.c ecp_nistp521.c ecp_nistputil.c
.endif
SRCS += ${EC_SRCS}