From bb97884dac02503b10e48aacb223c4f630b60ab8 Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 2 May 2014 22:23:00 +0000 Subject: [PATCH] Correctly enable assembler Montgomery routine. --- lib/libcrypto/arch/hppa/Makefile.inc | 3 ++- lib/libcrypto/crypto/arch/hppa/Makefile.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/arch/hppa/Makefile.inc b/lib/libcrypto/arch/hppa/Makefile.inc index 2d95d638e34..cdf0c360342 100644 --- a/lib/libcrypto/arch/hppa/Makefile.inc +++ b/lib/libcrypto/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 2014/05/02 20:08:10 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.4 2014/05/02 22:23:00 miod Exp $ # hppa-specific libcrypto build rules @@ -11,6 +11,7 @@ SRCS+= bf_enc.c # bn SRCS+= bn_asm.c SSLASM+= bn parisc-mont parisc-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W # des SRCS+= des_enc.c fcrypt_b.c # modes diff --git a/lib/libcrypto/crypto/arch/hppa/Makefile.inc b/lib/libcrypto/crypto/arch/hppa/Makefile.inc index 2d95d638e34..cdf0c360342 100644 --- a/lib/libcrypto/crypto/arch/hppa/Makefile.inc +++ b/lib/libcrypto/crypto/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 2014/05/02 20:08:10 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.4 2014/05/02 22:23:00 miod Exp $ # hppa-specific libcrypto build rules @@ -11,6 +11,7 @@ SRCS+= bf_enc.c # bn SRCS+= bn_asm.c SSLASM+= bn parisc-mont parisc-mont +CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W # des SRCS+= des_enc.c fcrypt_b.c # modes -- 2.20.1