boringssl/crypto/ec
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
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
ec_asn1.c ec: recognise known parameters when written in full. 2014-07-19 00:03:13 +00:00
ec_error.c Readd EC_GROUP_get_curve_GFp. 2014-08-26 21:52:12 +00:00
ec_key.c Introduce EVP_PKEY_is_opaque to replace RSA_METHOD_FLAG_NO_CHECK. 2014-07-18 23:35:04 +00:00
ec_montgomery.c Inital import. 2014-06-20 13:17:32 -07:00
ec.c Readd EC_GROUP_get_curve_GFp. 2014-08-26 21:52:12 +00:00
example_mul.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
internal.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
oct.c Inital import. 2014-06-20 13:17:32 -07:00
simple.c Simplify ec_GFp_simple_points_make_affine. 2014-08-05 21:22:38 +00:00
wnaf.c Fix minor issues found by Clang's analysis. 2014-09-02 22:39:41 +00:00