boringssl/crypto/bytestring
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
..
ber.c Remove hack in parsing PKCS#12. 2014-08-26 22:07:02 +00:00
bytestring_test.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
cbb.c Clean up s23_srvr.c. 2014-08-12 21:10:56 +00:00
cbs.c Export CBS_get_any_asn1_element. 2014-08-28 00:45:30 +00:00
CMakeLists.txt Rework support for ASN.1 BER. 2014-08-25 21:38:08 +00:00
internal.h Export CBS_get_any_asn1_element. 2014-08-28 00:45:30 +00:00