aboutsummaryrefslogtreecommitdiff
path: root/crypto/modes/gcm128.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2019-08-24 11:28:19 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2019-09-01 15:41:58 +0200
commit24fd8541d47a46052b975db98b465faa7e4d898c (patch)
treefbe9188d876ba1ad776b57ee6c66197166299dfb /crypto/modes/gcm128.c
parent2f9789f7e7e8f17da32e1cadbbc3c398f99f2d23 (diff)
downloadopenssl-24fd8541d47a46052b975db98b465faa7e4d898c.zip
openssl-24fd8541d47a46052b975db98b465faa7e4d898c.tar.gz
openssl-24fd8541d47a46052b975db98b465faa7e4d898c.tar.bz2
Remove extern declarations of OPENSSL_ia32cap_P
Use the header file internal/cryptlib.h instead. Remove checks for OPENSSL_NO_ASM and I386_ONLY in cryptlib.c, to match the checks in other places where OPENSSL_ia32cap_P is used and assumed to be initialized. Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/9688)
Diffstat (limited to 'crypto/modes/gcm128.c')
-rw-r--r--crypto/modes/gcm128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/modes/gcm128.c b/crypto/modes/gcm128.c
index 371bf76..f37653b 100644
--- a/crypto/modes/gcm128.c
+++ b/crypto/modes/gcm128.c
@@ -9,6 +9,7 @@
#include <string.h>
#include <openssl/crypto.h>
+#include "internal/cryptlib.h"
#include "internal/modes_int.h"
#if defined(BSWAP4) && defined(STRICT_ALIGNMENT)
@@ -635,7 +636,6 @@ static void gcm_gmult_1bit(u64 Xi[2], const u64 H[2])
defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64))
# define GHASH_ASM_X86_OR_64
# define GCM_FUNCREF_4BIT
-extern unsigned int OPENSSL_ia32cap_P[];
void gcm_init_clmul(u128 Htable[16], const u64 Xi[2]);
void gcm_gmult_clmul(u64 Xi[2], const u128 Htable[16]);