summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-06-28 07:50:57 +0000
committerkettenis <kettenis@openbsd.org>2020-06-28 07:50:57 +0000
commit23ce803115f35117259a127b97e0da2c16f433bb (patch)
tree88798dfe7542a3d61370aa095735ca050087191f
parentMake long double the same as double for now on powerpc64 like we do on (diff)
downloadwireguard-openbsd-23ce803115f35117259a127b97e0da2c16f433bb.tar.xz
wireguard-openbsd-23ce803115f35117259a127b97e0da2c16f433bb.zip
Switch back to bn_mul_mont_int since the bn_mul_mont_fpu64 code isn't
hooked up and the lack of a bn_mul_mont_int implementation results in undefined references.
-rw-r--r--lib/libcrypto/arch/powerpc64/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/arch/powerpc64/Makefile.inc b/lib/libcrypto/arch/powerpc64/Makefile.inc
index 7afecde44d2..3806ee34ab8 100644
--- a/lib/libcrypto/arch/powerpc64/Makefile.inc
+++ b/lib/libcrypto/arch/powerpc64/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2020/06/26 00:39:59 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2020/06/28 07:50:57 kettenis Exp $
# powerpc-specific libcrypto build rules
@@ -11,8 +11,8 @@ SRCS+= aes_core.c aes_cbc.c
SRCS+= bf_enc.c
# bn
SSLASM+= bn ppc bn-ppc
-#SSLASM+= bn ppc-mont ppc-mont # bn_mul_mont_int
-SSLASM+= bn ppc64-mont ppc64-mont # bn_mul_mont_fpu64
+SSLASM+= bn ppc-mont ppc-mont # bn_mul_mont_int
+#SSLASM+= bn ppc64-mont ppc64-mont # bn_mul_mont_fpu64
CFLAGS+= -DOPENSSL_BN_ASM_MONT
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c