Introduce separate files for TLS 1.2 handshake functions

This commit introduces source files
- `ssl_12_gen.c`
- `ssl_12_srv.c`
- `ssl_12_cli.c`
which will subsequently be populated with implementations
for handshake reading and writing functions for all TLS
versions <= 1.2. `ssl_12_gen.c` shall contain functions
shared between client and server, while `ssl_12_cli.c`
and `ssl_12_srv.c` shall contain client/server-specific
functions only.

In order to retain git history, those files are so far
identical copies of `ssl_tls.c`, `ssl_srv.c` and `ssl_cli.c`,
and those latter files have been moved to temporary files
`ssl_xxx_old.c`. Subsequent commits will rename them back
to their original name and do the actual code split.
This commit is contained in:
Hanno Becker 2020-01-31 13:59:09 +00:00
parent bef2d91478
commit b7d17919c4
6 changed files with 16025 additions and 0 deletions

4043
library/ssl_cli_old.c Normal file

File diff suppressed because it is too large Load Diff

4577
library/ssl_srv_old.c Normal file

File diff suppressed because it is too large Load Diff

7405
library/ssl_tls_old.c Normal file

File diff suppressed because it is too large Load Diff