diff options
author | miod <> | 2016-11-04 13:56:05 +0000 |
---|---|---|
committer | miod <> | 2016-11-04 13:56:05 +0000 |
commit | d69d10da5510517830f98435b4984052c2d21825 (patch) | |
tree | 9363c8b7f4453a96c26a902a886921f7516d700f /src/lib/libcrypto/modes/gcm128.c | |
parent | 76a784dab583cd423f3ff66636ea7b6b6f4dee61 (diff) | |
download | openbsd-d69d10da5510517830f98435b4984052c2d21825.tar.gz openbsd-d69d10da5510517830f98435b4984052c2d21825.tar.bz2 openbsd-d69d10da5510517830f98435b4984052c2d21825.zip |
Remove I386_ONLY define. It was only used to prefer a
faster-on-genuine-80386-but-slower-on-80486-onwards innstruction sequence in
the SHA512 code, and had not been enabled in years, if at all.
ok tom@ bcook@
Diffstat (limited to 'src/lib/libcrypto/modes/gcm128.c')
-rw-r--r-- | src/lib/libcrypto/modes/gcm128.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index dd6d91e880..6f8a8dd7f4 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcm128.c,v 1.13 2015/09/10 15:56:25 jsing Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.14 2016/11/04 13:56:05 miod Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -638,8 +638,7 @@ static void gcm_gmult_1bit(u64 Xi[2],const u64 H[2]) | |||
638 | #endif | 638 | #endif |
639 | 639 | ||
640 | #if TABLE_BITS==4 && defined(GHASH_ASM) | 640 | #if TABLE_BITS==4 && defined(GHASH_ASM) |
641 | # if !defined(I386_ONLY) && \ | 641 | # if (defined(__i386) || defined(__i386__) || \ |
642 | (defined(__i386) || defined(__i386__) || \ | ||
643 | defined(__x86_64) || defined(__x86_64__) || \ | 642 | defined(__x86_64) || defined(__x86_64__) || \ |
644 | defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64)) | 643 | defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64)) |
645 | # define GHASH_ASM_X86_OR_64 | 644 | # define GHASH_ASM_X86_OR_64 |