From: miod Date: Fri, 2 May 2014 20:08:10 +0000 (+0000) Subject: Reenable assembler code for SHA384 and SHA512 now that it no longer miscomputes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2e59873856cb42e13e573d49862e84b7c5e6e1f1;p=openbsd 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. --- 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