mbedtls/library
Hanno Becker 2259887543 Move messaging layer functionality to ssl_msg.c
Broadly, the file `ssl_tls.c` functionality from two categories:

1) An implementation of the TLS and DTLS messaging layer, that is,
   the record layer as well as the DTLS retransmission state machine.

2) Handshake parsing and writing functions shared between client and
   server (functions specific to either client or server are implemented
   in ssl_cli.c and ssl_srv.c, respectively).

This commit is a first step towards separating those functionalities
by moving a number of messaging layer related functions from ssl_tls.c
to the newly created ssl_msg.c.

Because of implementation-specific dependencies between handshake logic
and messaging layer, a number of internal SSL functions are currently
used from both the handshake and the messaging layer. Those functions
will need to made public internal (i.e. declared in the mbedtls_ name-
space in ssl_internal.h), but this is left for the next commit in order
to ease review through `git diff --color-moved`. Also, the analysis of
whether their use can/should be restricted to either ssl_tls.c or ssl_msg.c
is left for future commits.
2020-02-03 14:15:11 +00:00
..
.gitignore Split libs with make + general make cleanups 2015-06-25 10:59:56 +02:00
certs.c Add support for all SHA modes in cert_write 2019-07-14 09:17:57 +03:00
CMakeLists.txt Bump version to Mbed TLS 2.20.0 2020-01-20 14:52:29 +00:00
debug.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
error.c Remove duplicate include statement 2019-12-19 10:27:57 +00:00
Makefile Update Mbed Crypto SO version 2020-01-27 16:37:14 +00:00
net_sockets.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
pkcs11.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl_cache.c Remove peer CRT from cache if !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE 2019-02-26 14:38:09 +00:00
ssl_ciphersuites.c Reduce priority of 3DES ciphersuites 2019-03-01 10:19:27 +01:00
ssl_cli.c USE_PSA_CRYPTO: don't rely on the curve encoding 2020-01-31 14:57:43 +01:00
ssl_cookie.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
ssl_msg.c Move messaging layer functionality to ssl_msg.c 2020-02-03 14:15:11 +00:00
ssl_srv.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
ssl_ticket.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
ssl_tls.c Move messaging layer functionality to ssl_msg.c 2020-02-03 14:15:11 +00:00
version.c Fix missing void argument declarations #678 2016-11-04 23:05:56 +01:00
version_features.c Add new config MBEDTLS_SSL_CONTEXT_SERIALIZATION 2019-08-23 12:52:29 +03:00
x509.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509_create.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509_crl.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509_crt.c Allow loading symlinked certificates 2020-01-24 09:12:03 -06:00
x509_csr.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509write_crt.c Put includes in alphabetical order 2019-12-19 10:27:57 +00:00
x509write_csr.c Add missing return code check on call to mbedtls_md() 2020-01-21 16:56:14 +01:00