diff options
author | miod <> | 2015-03-05 20:35:28 +0000 |
---|---|---|
committer | miod <> | 2015-03-05 20:35:28 +0000 |
commit | 1e55b7f6250a8ae90d8b1aed376d8e93e3d7fc97 (patch) | |
tree | 9bb9213e71c65cadb00be740a7d7de1b0e4e4c7e /src/lib | |
parent | 05edf44920153ec98d1cb027c6751945237abe23 (diff) | |
download | openbsd-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.inc | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/crypto/arch/hppa/Makefile.inc | 4 |
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 |
31 | CFLAGS+= -DSHA1_ASM | 31 | CFLAGS+= -DSHA1_ASM |
32 | SSLASM+= sha sha1-parisc sha1-parisc | 32 | SSLASM+= sha sha1-parisc sha1-parisc |
33 | .if 0 # sha512 subtly broken, sha256 probably as well | ||
33 | CFLAGS+= -DSHA256_ASM | 34 | CFLAGS+= -DSHA256_ASM |
34 | SSLASM+= sha sha512-parisc sha256-parisc | 35 | SSLASM+= sha sha512-parisc sha256-parisc |
35 | CFLAGS+= -DSHA512_ASM | 36 | CFLAGS+= -DSHA512_ASM |
36 | SSLASM+= sha sha512-parisc sha512-parisc | 37 | SSLASM+= sha sha512-parisc sha512-parisc |
38 | .endif | ||
37 | # whrlpool | 39 | # whrlpool |
38 | SRCS+= wp_block.c | 40 | SRCS+= 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 |
31 | CFLAGS+= -DSHA1_ASM | 31 | CFLAGS+= -DSHA1_ASM |
32 | SSLASM+= sha sha1-parisc sha1-parisc | 32 | SSLASM+= sha sha1-parisc sha1-parisc |
33 | .if 0 # sha512 subtly broken, sha256 probably as well | ||
33 | CFLAGS+= -DSHA256_ASM | 34 | CFLAGS+= -DSHA256_ASM |
34 | SSLASM+= sha sha512-parisc sha256-parisc | 35 | SSLASM+= sha sha512-parisc sha256-parisc |
35 | CFLAGS+= -DSHA512_ASM | 36 | CFLAGS+= -DSHA512_ASM |
36 | SSLASM+= sha sha512-parisc sha512-parisc | 37 | SSLASM+= sha sha512-parisc sha512-parisc |
38 | .endif | ||
37 | # whrlpool | 39 | # whrlpool |
38 | SRCS+= wp_block.c | 40 | SRCS+= wp_block.c |
39 | 41 | ||