boringssl/crypto
David Benjamin 3b33f3eb2d Set static armcaps based on __ARM_FEATURE_CRYPTO.
Originally we had some confusion around whether the features could be
toggled individually or not. Per the ARM C Language Extensions doc[1],
__ARM_FEATURE_CRYPTO implies the "crypto extension" which encompasses
all of them. The runtime CPUID equivalent can report the features
individually, but it seems no one separates them in practice, for now.
(If they ever do, probably there'll be a new set of #defines.)

[1] http://infocenter.arm.com/help/topic/com.arm.doc.ihi0053c/IHI0053C_acle_2_0.pdf

Change-Id: I12915dfc308f58fb005286db75e50d8328eeb3ea
Reviewed-on: https://boringssl-review.googlesource.com/16991
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-06-09 00:29:10 +00:00
..
asn1 Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
base64 Optimize constant-time base64 implementation slightly. 2017-05-17 23:11:47 +00:00
bio Test with IPv6 by default, and IPv4 only if that fails. 2017-05-25 23:49:52 +00:00
bn_extra Move bn/ into crypto/fipsmodule/ 2017-05-01 22:51:25 +00:00
buf Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
bytestring Convert bytestring_test to GTest. 2017-04-17 14:19:47 +00:00
chacha Remove filename argument to x86 asm_init. 2017-05-12 14:58:27 +00:00
cipher_extra Test unaligned input with each AEAD. 2017-06-01 19:08:20 +00:00
cmac Convert cmac_test to GTest. 2017-04-24 20:25:22 +00:00
conf Fix out-of-memory condition in conf. 2017-03-21 16:19:22 +00:00
curve25519 Improve Curve25519 cswap x64 assembly 2017-05-23 22:51:48 +00:00
dh Remove ex_data's dup hook. 2017-05-23 22:43:59 +00:00
digest_extra Convert digest_test to GTest. 2017-05-18 14:50:06 +00:00
dsa Remove ex_data's dup hook. 2017-05-23 22:43:59 +00:00
ec_extra Tidy up FIPS module dependencies. 2017-05-05 23:10:24 +00:00
ecdh Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
ecdsa_extra Tidy up FIPS module dependencies. 2017-05-05 23:10:24 +00:00
engine Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
err Enforce incrementing counter for TLS 1.2 AES-GCM. 2017-05-26 20:06:36 +00:00
evp Import Ed25519 tests from upstream to evp_tests.txt. 2017-06-08 23:53:06 +00:00
fipsmodule Clarify rand locking comment. 2017-06-08 22:26:40 +00:00
hkdf Convert various tests to GTest. 2017-05-23 22:34:09 +00:00
hmac_extra Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
lhash Convert various tests to GTest. 2017-05-23 22:34:09 +00:00
obj Convert obj_tests to gtest 2017-06-07 17:35:56 +00:00
pem Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
perlasm Remove filename argument to x86 asm_init. 2017-05-12 14:58:27 +00:00
pkcs7 Move pkcs{7,8}_test over to gtest 2017-06-02 16:53:41 +00:00
pkcs8 Convert remaining pkcs8 tests to gtest 2017-06-07 17:30:27 +00:00
poly1305 Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
pool Convert various tests to GTest. 2017-05-23 22:34:09 +00:00
rand_extra Fix fuzzer build. 2017-04-25 16:42:28 +00:00
rc4 Simplify RC4 code and remove assembly. 2016-08-30 15:32:31 +00:00
rsa_extra Add FIPS-compliant key generation that calls check_fips for RSA and EC. 2017-05-17 16:30:48 +00:00
stack Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
test Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
x509 Convert x509_test to gtest 2017-06-07 19:02:13 +00:00
x509v3 Convert stack.h to use inline functions. 2017-05-22 15:06:04 +00:00
CMakeLists.txt Convert evp_test to GTest. 2017-06-08 20:28:12 +00:00
compiler_test.cc Fix build on android_aarch64. 2017-04-21 22:52:10 +00:00
constant_time_test.cc Switch constant-time functions to using |crypto_word_t|. 2017-04-21 22:06:05 +00:00
cpu-aarch64-linux.c
cpu-arm-linux.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
cpu-arm.c
cpu-intel.c
cpu-ppc64le.c Make the POWER hardware capability value a global in crypto.c. 2017-04-04 18:19:19 +00:00
crypto.c Set static armcaps based on __ARM_FEATURE_CRYPTO. 2017-06-09 00:29:10 +00:00
ex_data.c Remove ex_data's dup hook. 2017-05-23 22:43:59 +00:00
internal.h Remove ex_data's dup hook. 2017-05-23 22:43:59 +00:00
mem.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
refcount_c11.c
refcount_lock.c
refcount_test.cc Convert various tests to GTest. 2017-05-23 22:34:09 +00:00
thread_none.c
thread_pthread.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
thread_test.cc Convert thread_test to GTest. 2017-06-05 22:30:35 +00:00
thread_win.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
thread.c Remove a bunch of unnecessary includes. 2016-06-28 20:31:14 +00:00