diff options
author | Adam Langley <agl@chromium.org> | 2014-06-24 22:00:27 +0400 |
---|---|---|
committer | Adam Langley <agl@chromium.org> | 2014-06-24 22:00:27 +0400 |
commit | 3f4e13c7dab89994c7c104c3309ea1ed2f26dfd1 (patch) | |
tree | 14c0e523a29580cb30f4a8b752f67272c48051eb /crypto | |
parent | 95463b311df79a60e48ad6c6f49a16995e617ae9 (diff) |
Fix GCM in non-AESNI mode.
GCM was broken in non-AESNI mode because I fluffed a #define when
moving gcm128.c across.
Change-Id: I66d5fed6a3d83d641da55c5ca434f17db0d89237
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/modes/gcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/modes/gcm.c b/crypto/modes/gcm.c index 116eab8b..982f8236 100644 --- a/crypto/modes/gcm.c +++ b/crypto/modes/gcm.c @@ -113,7 +113,7 @@ static void gcm_init_4bit(u128 Htable[16], uint64_t H[2]) { Htable[14].hi = V.hi ^ Htable[6].hi, Htable[14].lo = V.lo ^ Htable[6].lo; Htable[15].hi = V.hi ^ Htable[7].hi, Htable[15].lo = V.lo ^ Htable[7].lo; -#if defined(GHASH_ASM) +#if defined(GHASH_ASM) && defined(OPENSSL_ARM) /* ARM assembler expects specific dword order in Htable. */ { int j; |