mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 16:35:41 +01:00
2259887543
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. |
||
---|---|---|
.. | ||
.gitignore | ||
certs.c | ||
CMakeLists.txt | ||
debug.c | ||
error.c | ||
Makefile | ||
net_sockets.c | ||
pkcs11.c | ||
ssl_cache.c | ||
ssl_ciphersuites.c | ||
ssl_cli.c | ||
ssl_cookie.c | ||
ssl_msg.c | ||
ssl_srv.c | ||
ssl_ticket.c | ||
ssl_tls.c | ||
version_features.c | ||
version.c | ||
x509_create.c | ||
x509_crl.c | ||
x509_crt.c | ||
x509_csr.c | ||
x509.c | ||
x509write_crt.c | ||
x509write_csr.c |