summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal
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/include/internal
parent2f9789f7e7e8f17da32e1cadbbc3c398f99f2d23 (diff)
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/include/internal')
-rw-r--r--crypto/include/internal/ciphermode_platform.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/include/internal/ciphermode_platform.h b/crypto/include/internal/ciphermode_platform.h
index 40d012a8d1..f357ea5c84 100644
--- a/crypto/include/internal/ciphermode_platform.h
+++ b/crypto/include/internal/ciphermode_platform.h
@@ -101,7 +101,6 @@ void AES_xts_decrypt(const unsigned char *inp, unsigned char *out, size_t len,
defined(_M_AMD64) || defined(_M_X64) )
/* AES-NI section */
-extern unsigned int OPENSSL_ia32cap_P[];
# define AESNI_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(57-32)))
# ifdef VPAES_ASM