summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authormiod <>2015-03-05 20:35:28 +0000
committermiod <>2015-03-05 20:35:28 +0000
commit1e55b7f6250a8ae90d8b1aed376d8e93e3d7fc97 (patch)
tree9bb9213e71c65cadb00be740a7d7de1b0e4e4c7e /src/lib
parent05edf44920153ec98d1cb027c6751945237abe23 (diff)
downloadopenbsd-1e55b7f6250a8ae90d8b1aed376d8e93e3d7fc97.tar.gz
openbsd-1e55b7f6250a8ae90d8b1aed376d8e93e3d7fc97.tar.bz2
openbsd-1e55b7f6250a8ae90d8b1aed376d8e93e3d7fc97.zip
Do not use sha512-parisc for now, as it is subtly bugged - passes the sha
regress tests but causes tls ciphersuite using sha386 to fail; found the hard way by henning@. I can't see anything wrong in the generated assembly code yet, but building a libcrypto with no assembler code but sha512_block_data_order() is enough to trigger Henning's issue, so the bug lies there. No ABI change; ok deraadt@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/arch/hppa/Makefile.inc4
-rw-r--r--src/lib/libcrypto/crypto/arch/hppa/Makefile.inc4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/arch/hppa/Makefile.inc
index 0f60586865..d8ca1065d6 100644
--- a/src/lib/libcrypto/arch/hppa/Makefile.inc
+++ b/src/lib/libcrypto/arch/hppa/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.7 2014/11/17 20:31:21 miod Exp $ 1# $OpenBSD: Makefile.inc,v 1.8 2015/03/05 20:35:28 miod Exp $
2 2
3# hppa-specific libcrypto build rules 3# hppa-specific libcrypto build rules
4 4
@@ -30,10 +30,12 @@ SRCS+= rc4_enc.c rc4_skey.c
30# sha 30# sha
31CFLAGS+= -DSHA1_ASM 31CFLAGS+= -DSHA1_ASM
32SSLASM+= sha sha1-parisc sha1-parisc 32SSLASM+= sha sha1-parisc sha1-parisc
33.if 0 # sha512 subtly broken, sha256 probably as well
33CFLAGS+= -DSHA256_ASM 34CFLAGS+= -DSHA256_ASM
34SSLASM+= sha sha512-parisc sha256-parisc 35SSLASM+= sha sha512-parisc sha256-parisc
35CFLAGS+= -DSHA512_ASM 36CFLAGS+= -DSHA512_ASM
36SSLASM+= sha sha512-parisc sha512-parisc 37SSLASM+= sha sha512-parisc sha512-parisc
38.endif
37# whrlpool 39# whrlpool
38SRCS+= wp_block.c 40SRCS+= wp_block.c
39 41
diff --git a/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc
index 0f60586865..d8ca1065d6 100644
--- a/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc
+++ b/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.7 2014/11/17 20:31:21 miod Exp $ 1# $OpenBSD: Makefile.inc,v 1.8 2015/03/05 20:35:28 miod Exp $
2 2
3# hppa-specific libcrypto build rules 3# hppa-specific libcrypto build rules
4 4
@@ -30,10 +30,12 @@ SRCS+= rc4_enc.c rc4_skey.c
30# sha 30# sha
31CFLAGS+= -DSHA1_ASM 31CFLAGS+= -DSHA1_ASM
32SSLASM+= sha sha1-parisc sha1-parisc 32SSLASM+= sha sha1-parisc sha1-parisc
33.if 0 # sha512 subtly broken, sha256 probably as well
33CFLAGS+= -DSHA256_ASM 34CFLAGS+= -DSHA256_ASM
34SSLASM+= sha sha512-parisc sha256-parisc 35SSLASM+= sha sha512-parisc sha256-parisc
35CFLAGS+= -DSHA512_ASM 36CFLAGS+= -DSHA512_ASM
36SSLASM+= sha sha512-parisc sha512-parisc 37SSLASM+= sha sha512-parisc sha512-parisc
38.endif
37# whrlpool 39# whrlpool
38SRCS+= wp_block.c 40SRCS+= wp_block.c
39 41