summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-02 21:55:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-02 21:55:32 +0000
commit5797d624abba204b95c004178bdf5c7c4adf491d (patch)
treeb2d20b36a1fc8c9199247619171e6d648e6a3532 /lib/libcrypto
parenta371e389155ad81ff045bd12e70d19ac7a8078d1 (diff)
Correctly enable assembler Montgomery routine.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/crypto/arch/mips64/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
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