boringssl/crypto/cipher
David Benjamin a70c75cfc0 Add a CRYPTO_library_init and static-initializer-less build option.
Chromium does not like static initializers, and the CPU logic uses one to
initialize CPU bits. However, the crypto library lacks an explicit
initialization function, which could complicate (no compile-time errors)
porting existing code which uses crypto/, but not ssl/.

Add an explicit CRYPTO_library_init function, but make it a no-op by default.
It only does anything (and is required) if building with
BORINGSSL_NO_STATIC_INITIALIZER.

Change-Id: I6933bdc3447fb382b1f87c788e5b8142d6f3fe39
Reviewed-on: https://boringssl-review.googlesource.com/1770
Reviewed-by: Adam Langley <agl@google.com>
2014-09-12 00:10:53 +00:00
..
aead_test.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
aead.c AEAD interface. 2014-06-20 13:17:34 -07:00
aes_128_gcm_tests.txt AEAD tests. 2014-06-20 13:17:34 -07:00
aes_128_key_wrap_tests.txt Add AES Key Wrap mode. 2014-07-28 21:32:39 +00:00
aes_256_gcm_tests.txt AEAD tests. 2014-06-20 13:17:34 -07:00
aes_256_key_wrap_tests.txt Add AES Key Wrap mode. 2014-07-28 21:32:39 +00:00
chacha20_poly1305_tests.txt ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
cipher_error.c Readd EVP_CIPHER_CTX_set_key_length. 2014-08-26 21:52:01 +00:00
cipher_test.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
cipher_test.txt Inital import. 2014-06-20 13:17:32 -07:00
cipher.c Readd EVP_CIPHER_CTX_set_key_length. 2014-08-26 21:52:01 +00:00
CMakeLists.txt Add 40-bit RC2 support. 2014-08-25 21:37:20 +00:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
e_chacha20poly1305.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
e_des.c Inital import. 2014-06-20 13:17:32 -07:00
e_null.c Inital import. 2014-06-20 13:17:32 -07:00
e_rc2.c Add 40-bit RC2 support. 2014-08-25 21:37:20 +00:00
e_rc4.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
internal.h AEAD interface. 2014-06-20 13:17:34 -07:00
rc4_md5_tests.txt Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00