Remove extern declarations of OPENSSL_ia32cap_P
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 24 Aug 2019 09:28:19 +0000 (11:28 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 1 Sep 2019 13:41:58 +0000 (15:41 +0200)
commit24fd8541d47a46052b975db98b465faa7e4d898c
treefbe9188d876ba1ad776b57ee6c66197166299dfb
parent2f9789f7e7e8f17da32e1cadbbc3c398f99f2d23
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)
crypto/cryptlib.c
crypto/engine/eng_rdrand.c
crypto/evp/e_aes_cbc_hmac_sha1.c
crypto/evp/e_aes_cbc_hmac_sha256.c
crypto/evp/e_rc4_hmac_md5.c
crypto/include/internal/ciphermode_platform.h
crypto/modes/gcm128.c
crypto/rand/rand_lib.c
crypto/whrlpool/wp_block.c
include/internal/cryptlib.h
test/rdrand_sanitytest.c