boringssl/crypto
Brian Smith 054e682675 Eliminate unnecessary includes from low-level crypto modules.
Beyond generally eliminating unnecessary includes, eliminate as many
includes of headers that declare/define particularly error-prone
functionality like strlen, malloc, and free. crypto/err/internal.h was
added to remove the dependency on openssl/thread.h from the public
openssl/err.h header. The include of <stdlib.h> in openssl/mem.h was
retained since it defines OPENSSL_malloc and friends as macros around
the stdlib.h functions. The public x509.h, x509v3.h, and ssl.h headers
were not changed in order to minimize breakage of source compatibility
with external code.

Change-Id: I0d264b73ad0a720587774430b2ab8f8275960329
Reviewed-on: https://boringssl-review.googlesource.com/4220
Reviewed-by: Adam Langley <agl@google.com>
2015-04-13 20:49:18 +00:00
..
aes Fix undefined behavior in shifts. 2015-03-19 11:33:46 +00:00
asn1 Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
base64 Convert base64_test to C++. 2015-04-01 19:54:13 +00:00
bio Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
bn Remove superfluous crypto/bio dependencies from tests. 2015-04-13 20:24:18 +00:00
buf Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
bytestring Check for leading zeros in CBS_get_asn1_uint64. 2015-04-06 20:54:53 +00:00
chacha Switch nonce type in chacha_vec.c to uint32_t. 2015-02-13 13:16:59 -08:00
cipher Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
conf Add NCONF_load_bio. 2015-04-06 16:58:45 -07:00
des Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
dh Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
digest Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
dsa Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
ec Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
ecdh Add in missing curly braces part 2. 2015-02-11 23:14:04 +00:00
ecdsa Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
engine Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
err Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
evp Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
hkdf Rename BIO_print_errors_fp back to ERR_print_errors_fp & refactor it. 2015-04-13 20:23:29 +00:00
hmac Convert hmac_test to C++. 2015-03-31 23:13:49 +00:00
lhash Remove more bits of ERR_STRING_DATA. 2015-02-10 02:10:46 +00:00
md4 Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
md5 Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
modes Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
obj Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
pem Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
perlasm Remove Unused SPARC & PowerPC perlasm scripts. 2015-03-14 00:16:55 +00:00
pkcs8 Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
poly1305 Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
rand Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
rc4 Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
rsa Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
sha ARMv4 assembly pack: add Cortex-A15 performance data. 2015-03-10 02:32:05 +00:00
stack Add sk_deep_copy and its macro. 2015-02-13 10:59:10 -08:00
test Convert bn_test to C++. 2015-04-01 19:53:51 +00:00
x509 Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
x509v3 Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
arm_arch.h
CMakeLists.txt Fix the standalone shared library build. 2015-04-02 21:07:17 +00:00
constant_time_test.c
cpu-arm-asm.S
cpu-arm.c Don't set NEON_FUNCTIONAL in the getauxval path. 2015-03-31 00:26:25 +00:00
cpu-intel.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
cpu-x86_64-asm.pl Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
cpu-x86-asm.pl Never set RC4_CHAR. 2015-02-20 23:59:59 +00:00
crypto_error.h
crypto.c
directory_posix.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
directory_win.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
directory.h
ex_data_impl.c
ex_data.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
header_removed.h
internal.h Enable MSVC warning C4701, use of potentially uninitialized variable. 2015-04-13 20:32:26 +00:00
mem.c Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00
thread_pthread.c Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
thread_test.c Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
thread_win.c Rename p_thread_callback_base to p_thread_callback_boringssl. 2015-04-03 17:17:32 +00:00
thread.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
time_support.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00