boringssl/ssl
David Benjamin c0f763b080 Simplify server-side ECDH curve selection.
There's multiple sets of APIs for selecting the curve. Fold away
SSL_OP_SINGLE_ECDH_USE as failing to set it is either a no-op or a bug. With
that gone, the consumer only needs to control the selection of a curve, with
key generation from then on being uniform. Also clean up the interaction
between the three API modes in s3_srvr.c; they were already mutually exclusive
due to tls1_check_ec_tmp_key.

This also removes all callers of EC_KEY_dup (and thus CRYPTO_dup_ex_data)
within the library.

Change-Id: I477b13bd9e77eb03d944ef631dd521639968dc8c
Reviewed-on: https://boringssl-review.googlesource.com/4200
Reviewed-by: Adam Langley <agl@google.com>
2015-04-02 18:37:06 +00:00
..
pqueue Fix memory leak in pqueue_test. 2015-02-11 23:18:45 +00:00
test Disable the malloc test interceptor on ASan. 2015-04-01 20:08:18 +00:00
CMakeLists.txt Convert ssl_test to C++. 2015-03-31 23:03:54 +00:00
d1_both.c Fix Windows build. 2015-03-10 05:28:56 +00:00
d1_clnt.c Remove the stats block in SSL_CTX. 2015-03-23 23:07:56 +00:00
d1_lib.c Move the is_dtls bit from SSL3_ENC_METHOD to SSL_PROTOCOL_METHOD. 2015-03-19 11:51:49 +00:00
d1_meth.c Move the is_dtls bit from SSL3_ENC_METHOD to SSL_PROTOCOL_METHOD. 2015-03-19 11:51:49 +00:00
d1_pkt.c Correct three incorrect function names in errors. 2015-03-18 21:15:04 +00:00
d1_srtp.c Store SRTP_PROTECTION_PROFILES as const. 2015-01-14 22:10:08 +00:00
d1_srvr.c Remove the stats block in SSL_CTX. 2015-03-23 23:07:56 +00:00
s3_both.c Minor formatting fixes. 2015-03-19 11:52:44 +00:00
s3_clnt.c Remove the stats block in SSL_CTX. 2015-03-23 23:07:56 +00:00
s3_enc.c Handle failures in ssl3_finish_mac. 2015-02-17 21:01:37 +00:00
s3_lib.c Simplify server-side ECDH curve selection. 2015-04-02 18:37:06 +00:00
s3_meth.c Move the is_dtls bit from SSL3_ENC_METHOD to SSL_PROTOCOL_METHOD. 2015-03-19 11:51:49 +00:00
s3_pkt.c Process alerts between ChangeCipherSpec and Finished. 2015-03-13 20:19:11 +00:00
s3_srvr.c Simplify server-side ECDH curve selection. 2015-04-02 18:37:06 +00:00
ssl_algs.c Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
ssl_asn1.c Clean up error reporting. 2015-03-20 22:12:59 +00:00
ssl_cert.c Simplify server-side ECDH curve selection. 2015-04-02 18:37:06 +00:00
ssl_ciph.c Rename EECDH and EDH to ECDHE and DHE. 2015-03-19 19:54:58 +00:00
ssl_lib.c Simplify server-side ECDH curve selection. 2015-04-02 18:37:06 +00:00
ssl_locl.h Simplify server-side ECDH curve selection. 2015-04-02 18:37:06 +00:00
ssl_rsa.c Remove ssl_cert_inst() 2015-03-19 11:35:46 +00:00
ssl_sess.c Remove the stats block in SSL_CTX. 2015-03-23 23:07:56 +00:00
ssl_stat.c Remove server-side HelloVerifyRequest support. 2015-02-17 20:50:08 +00:00
ssl_test.cc Fix leak in ssl_test. 2015-04-01 18:22:23 +00:00
ssl_txt.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
t1_enc.c Don't delay-initialize legacy AEADs. 2015-03-05 21:25:05 +00:00
t1_lib.c Simplify server-side ECDH curve selection. 2015-04-02 18:37:06 +00:00
t1_reneg.c Minor formatting tweaks. 2015-03-13 19:17:23 +00:00