boringssl/crypto/evp
David Benjamin 8cbb5f8f20 Add a very roundabout EC keygen API.
OpenSSL's EVP-level EC API involves a separate "paramgen" operation,
which is ultimately just a roundabout way to go from a NID to an
EC_GROUP. But Node uses this, and it's the pattern used within OpenSSL
these days, so this appears to be the official upstream recommendation.

Also add a #define for OPENSSL_EC_EXPLICIT_CURVE, because Node uses it,
but fail attempts to use it. Explicit curve encodings are forbidden by
RFC 5480 and generally a bad idea. (Parsing such keys back into OpenSSL
will cause it to lose the optimized path.)

Change-Id: I5e97080e77cf90fc149f6cf6f2cc4900f573fc64
Reviewed-on: https://boringssl-review.googlesource.com/c/34565
Commit-Queue: David Benjamin <davidben@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2019-01-25 23:08:12 +00:00
..
digestsign.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
evp_asn1.c Add some Node compatibility functions. 2019-01-25 16:50:30 +00:00
evp_ctx.c Add a very roundabout EC keygen API. 2019-01-25 23:08:12 +00:00
evp_extra_test.cc Add a very roundabout EC keygen API. 2019-01-25 23:08:12 +00:00
evp_test.cc Ignore new fields in forthcoming Wycheproof tests. 2019-01-14 22:02:37 +00:00
evp_tests.txt Update citations to RFC 8410. 2018-08-10 14:14:38 +00:00
evp.c Clarify thread-safety of key objects. 2018-08-28 18:52:59 +00:00
internal.h Add a very roundabout EC keygen API. 2019-01-25 23:08:12 +00:00
p_dsa_asn1.c
p_ec_asn1.c EC_GROUP_dup cannot fail. 2018-04-25 16:43:19 +00:00
p_ec.c Add a very roundabout EC keygen API. 2019-01-25 23:08:12 +00:00
p_ed25519_asn1.c Update citations to RFC 8410. 2018-08-10 14:14:38 +00:00
p_ed25519.c Add a very roundabout EC keygen API. 2019-01-25 23:08:12 +00:00
p_rsa_asn1.c
p_rsa.c Add a very roundabout EC keygen API. 2019-01-25 23:08:12 +00:00
pbkdf_test.cc
pbkdf.c
print.c
scrypt_test.cc
scrypt_tests.txt
scrypt.c Modernize OPENSSL_COMPILE_ASSERT, part 2. 2018-11-14 16:06:37 +00:00
sign.c Take advantage of normalized return values. 2015-03-13 19:40:42 +00:00