openssl/ssl
Dr. Stephen Henson 173e72e64c DTLS revision.
Revise DTLS code. There was a *lot* of code duplication in the
DTLS code that generates records. This makes it harder to maintain and
sometimes a TLS update is omitted by accident from the DTLS code.

Specifically almost all of the record generation functions have code like
this:

some_pointer = buffer + HANDSHAKE_HEADER_LENGTH;
... Record creation stuff ...
set_handshake_header(ssl, SSL_MT_SOMETHING, message_len);

...

write_handshake_message(ssl);

Where the "Record creation stuff" is identical between SSL/TLS and DTLS or
in some cases has very minor differences.

By adding a few fields to SSL3_ENC to include the header length, some flags
and function pointers for handshake header setting and handshake writing the
code can cope with both cases.

Note: although this passes "make test" and some simple DTLS tests there may
be some minor differences in the DTLS code that have to be accounted for.
2013-03-18 14:36:43 +00:00
..
.cvsignore
bio_ssl.c
d1_both.c DTLS revision. 2013-03-18 14:36:43 +00:00
d1_clnt.c DTLS revision. 2013-03-18 14:36:43 +00:00
d1_enc.c Update DTLS code to match CBC decoding in TLS. 2013-02-06 14:19:07 +00:00
d1_lib.c DTLS revision. 2013-03-18 14:36:43 +00:00
d1_meth.c
d1_pkt.c DTLS trace support. 2013-03-11 13:05:07 +00:00
d1_srtp.c
d1_srvr.c DTLS revision. 2013-03-18 14:36:43 +00:00
dtls1.h
install-ssl.com
kssl_lcl.h
kssl.c
kssl.h
Makefile make depend. 2013-02-21 18:17:38 +00:00
s2_clnt.c Add and use a constant-time memcmp. 2013-02-06 14:16:55 +00:00
s2_enc.c
s2_lib.c
s2_meth.c
s2_pkt.c Add and use a constant-time memcmp. 2013-02-06 14:16:55 +00:00
s2_srvr.c
s3_both.c DTLS revision. 2013-03-18 14:36:43 +00:00
s3_cbc.c Fix ignored return value warnings. 2013-02-21 18:30:04 +00:00
s3_clnt.c DTLS revision. 2013-03-18 14:36:43 +00:00
s3_enc.c ssl/*: revert "remove SSL_RECORD->orig_len" and merge "fix IV". 2013-02-08 10:20:48 +01:00
s3_lib.c DTLS revision. 2013-03-18 14:36:43 +00:00
s3_meth.c
s3_pkt.c Fix error codes. 2013-02-26 16:46:58 +00:00
s3_srvr.c DTLS revision. 2013-03-18 14:36:43 +00:00
s23_clnt.c
s23_lib.c
s23_meth.c
s23_pkt.c
s23_srvr.c
srtp.h
ssl2.h
ssl3.h DTLS revision. 2013-03-18 14:36:43 +00:00
ssl23.h
ssl_algs.c e_aes_cbc_hmac_sha1.c: address the CBC decrypt timing issues. 2013-02-06 14:19:10 +00:00
ssl_asn1.c
ssl_cert.c
ssl_ciph.c
ssl_conf.c
ssl_err2.c
ssl_err.c
ssl_lib.c
ssl_locl.h DTLS revision. 2013-03-18 14:36:43 +00:00
ssl_rsa.c
ssl_sess.c
ssl_stat.c
ssl_task.c
ssl_txt.c
ssl-lib.com
ssl.h
ssltest.c Fix in ssltest is no-ssl2 configured 2013-02-11 18:29:05 +00:00
t1_clnt.c
t1_enc.c ssl/*: revert "remove SSL_RECORD->orig_len" and merge "fix IV". 2013-02-08 10:20:48 +01:00
t1_lib.c DTLS revision. 2013-03-18 14:36:43 +00:00
t1_meth.c Initial incomplete TLS v1.2 support. New ciphersuites added, new version 2011-04-29 22:56:51 +00:00
t1_reneg.c
t1_srvr.c
t1_trce.c DTLS trace support. 2013-03-11 13:05:07 +00:00
tls1.h
tls_srp.c