boringssl/crypto
Adam Langley d062c8afba Probe for NEON support if getauxval is missing.
Android didn't have getauxval until Jelly Bean (4.1). This means that
BoringSSL running on older Androids won't be able to detect NEON
support. (This is moot for Chromium because Chromium calls
android_getCpuFeatures and sets the NEON flag itself, but other users of
BoringSSL on Android probably won't do that.)

This change mirrors a little of what upstream does and tries running a
NEON instruction with a handler for SIGILL installed.

Change-Id: I853b85c37ffb049b240582d71fcf07adedc37a30
Reviewed-on: https://boringssl-review.googlesource.com/3190
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2015-02-02 19:51:14 +00:00
..
aes Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
asn1 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
base64 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
bio Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
bn Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
buf Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
bytestring Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
chacha Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
cipher Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
conf Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
des Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
dh Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
digest Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
dsa Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
ec Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
ecdh Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
ecdsa Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
engine Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
err Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
evp Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
hkdf Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
hmac Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
lhash Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
md4 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
md5 Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
modes Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
obj Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
pem Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
perlasm perlasm/x86_64-xlate.pl: handle inter-bank movd. 2014-11-10 13:45:32 -08:00
pkcs8 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
poly1305 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
rand Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
rc4 Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
rsa Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
sha Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
stack Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
x509v3 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
arm_arch.h aarch64 support. 2015-01-14 23:38:11 +00:00
CMakeLists.txt Probe for NEON support if getauxval is missing. 2015-02-02 19:51:14 +00:00
constant_time_test.c Update constant-time operations. 2014-11-10 13:48:30 -08:00
cpu-arm-asm.S Probe for NEON support if getauxval is missing. 2015-02-02 19:51:14 +00:00
cpu-arm.c Probe for NEON support if getauxval is missing. 2015-02-02 19:51:14 +00:00
cpu-intel.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Use asm directives to protect OPENSSL_cleanse. 2014-07-31 18:49:22 +00:00
crypto_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
crypto_error.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
crypto.c aarch64 support. 2015-01-14 23:38:11 +00:00
directory_posix.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
directory_win.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
directory.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ex_data_impl.c Free more memory in cleanup functions. 2015-01-13 00:04:35 +00:00
ex_data.c Don't compare signed vs. unsigned. 2014-10-01 02:17:38 +00:00
header_removed.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
internal.h aarch64 support. 2015-01-14 23:38:11 +00:00
mem.c Enable more warnings & treat warnings as errors on Windows. 2015-01-31 00:18:55 +00:00
thread.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
time_support.c Fix NaCl build. 2014-10-02 22:45:22 +00:00