From 2e59873856cb42e13e573d49862e84b7c5e6e1f1 Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 2 May 2014 20:08:10 +0000 Subject: [PATCH] Reenable assembler code for SHA384 and SHA512 now that it no longer miscomputes things. Worth doing as it's twice faster than the C code. --- lib/libcrypto/arch/hppa/Makefile.inc | 6 +++--- lib/libcrypto/crypto/arch/hppa/Makefile.inc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libcrypto/arch/hppa/Makefile.inc b/lib/libcrypto/arch/hppa/Makefile.inc index 30e0dbce5f0..2d95d638e34 100644 --- a/lib/libcrypto/arch/hppa/Makefile.inc +++ b/lib/libcrypto/arch/hppa/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.2 2014/05/02 18:21:39 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2014/05/02 20:08:10 miod Exp $ # hppa-specific libcrypto build rules @@ -29,8 +29,8 @@ CFLAGS+= -DSHA1_ASM SSLASM+= sha sha1-parisc sha1-parisc CFLAGS+= -DSHA256_ASM SSLASM+= sha sha512-parisc sha256-parisc -#CFLAGS+= -DSHA512_ASM -#SSLASM+= sha sha512-parisc sha512-parisc +CFLAGS+= -DSHA512_ASM +SSLASM+= sha sha512-parisc sha512-parisc # whrlpool SRCS+= wp_block.c diff --git a/lib/libcrypto/crypto/arch/hppa/Makefile.inc b/lib/libcrypto/crypto/arch/hppa/Makefile.inc index 30e0dbce5f0..2d95d638e34 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.2 2014/05/02 18:21:39 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2014/05/02 20:08:10 miod Exp $ # hppa-specific libcrypto build rules @@ -29,8 +29,8 @@ CFLAGS+= -DSHA1_ASM SSLASM+= sha sha1-parisc sha1-parisc CFLAGS+= -DSHA256_ASM SSLASM+= sha sha512-parisc sha256-parisc -#CFLAGS+= -DSHA512_ASM -#SSLASM+= sha sha512-parisc sha512-parisc +CFLAGS+= -DSHA512_ASM +SSLASM+= sha sha512-parisc sha512-parisc # whrlpool SRCS+= wp_block.c -- 2.20.1