boringssl/ssl
David Benjamin cfd248b7f6 Clean up SSL_export_keying_material implementation.
Fix up the variable names. Also avoid the messy logic of checking whether the
label and context collide with the normal key expansion ones in the face of
adverserial inputs. Make that the caller's responsibility, just as it's already
the caller's responsibility to ensure that different calls don't overlap.  (The
label should be a constant string in an IANA registry anyway.)

Change-Id: I062fadb7b6a18fa946b883be660ea9b3f0f6277c
Reviewed-on: https://boringssl-review.googlesource.com/4216
Reviewed-by: Adam Langley <agl@google.com>
2015-04-06 20:47:54 +00:00
..
pqueue Fix memory leak in pqueue_test. 2015-02-11 23:18:45 +00:00
test Add tests for SSL_export_keying_material. 2015-04-06 20:47:33 +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 Simplify the pointer management around do_ssl3_write. 2015-04-06 18:17:55 +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 Clean up do_ssl3_write fragment handling. 2015-04-06 18:53:15 +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 Clean up SSL_export_keying_material implementation. 2015-04-06 20:47:54 +00:00
ssl_locl.h Clean up SSL_export_keying_material implementation. 2015-04-06 20:47:54 +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 Clean up SSL_export_keying_material implementation. 2015-04-06 20:47:54 +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