From: miod Date: Sat, 3 May 2014 17:23:55 +0000 (+0000) Subject: Correctly enable Montgomery code. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8d0f97db9665ee470e040ad876e7f9310e53ddb9;p=openbsd Correctly enable Montgomery code. --- diff --git a/lib/libcrypto/arch/alpha/Makefile.inc b/lib/libcrypto/arch/alpha/Makefile.inc index a13726e8cce..9c9d77ea75a 100644 --- a/lib/libcrypto/arch/alpha/Makefile.inc +++ b/lib/libcrypto/arch/alpha/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2014/05/01 20:42:59 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2014/05/03 17:23:55 miod Exp $ # alpha-specific libcrypto build rules @@ -9,6 +9,7 @@ SRCS+= bf_enc.c # bn SRCS+= bn_asm.c SSLASM+= bn alpha-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT # des SRCS+= des_enc.c fcrypt_b.c # modes diff --git a/lib/libcrypto/crypto/arch/alpha/Makefile.inc b/lib/libcrypto/crypto/arch/alpha/Makefile.inc index a13726e8cce..9c9d77ea75a 100644 --- a/lib/libcrypto/crypto/arch/alpha/Makefile.inc +++ b/lib/libcrypto/crypto/arch/alpha/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2014/05/01 20:42:59 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2014/05/03 17:23:55 miod Exp $ # alpha-specific libcrypto build rules @@ -9,6 +9,7 @@ SRCS+= bf_enc.c # bn SRCS+= bn_asm.c SSLASM+= bn alpha-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT # des SRCS+= des_enc.c fcrypt_b.c # modes