From 16b581a8b0a1aee5c677e73e8c0a91b764e656cb Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 2 May 2014 21:55:31 +0000 Subject: [PATCH] Correctly enable assembler Montgomery routine. --- lib/libcrypto/arch/mips64/Makefile.inc | 3 ++- lib/libcrypto/crypto/arch/mips64/Makefile.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/arch/mips64/Makefile.inc b/lib/libcrypto/arch/mips64/Makefile.inc index eacac79e63c..0ae20ad5ccd 100644 --- a/lib/libcrypto/arch/mips64/Makefile.inc +++ b/lib/libcrypto/arch/mips64/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2014/05/01 20:15:06 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2014/05/02 21:55:31 miod Exp $ # mips64-specific libcrypto build rules @@ -11,6 +11,7 @@ SRCS+= bf_enc.c # bn SSLASM+= bn mips bn-mips SSLASM+= bn mips-mont mips-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W # des SRCS+= des_enc.c fcrypt_b.c # rc4 diff --git a/lib/libcrypto/crypto/arch/mips64/Makefile.inc b/lib/libcrypto/crypto/arch/mips64/Makefile.inc index eacac79e63c..0ae20ad5ccd 100644 --- a/lib/libcrypto/crypto/arch/mips64/Makefile.inc +++ b/lib/libcrypto/crypto/arch/mips64/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2014/05/01 20:15:06 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2014/05/02 21:55:31 miod Exp $ # mips64-specific libcrypto build rules @@ -11,6 +11,7 @@ SRCS+= bf_enc.c # bn SSLASM+= bn mips bn-mips SSLASM+= bn mips-mont mips-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W # des SRCS+= des_enc.c fcrypt_b.c # rc4 -- 2.20.1