libtls: Implement TLS 1.3 handshake on client-side
authorbytinbit <bytinbit@users.noreply.github.com>
Thu, 21 May 2020 07:37:38 +0000 (09:37 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 10:45:44 +0000 (11:45 +0100)
commit7a2b02667c30cb3d3dbffc57ebca6466608492cd
treea3c62a438c42509c0fc402a9835b878c8d6c135b
parent02d740551256a2aa29d27c76dbdcf741e1b85cf5
libtls: Implement TLS 1.3 handshake on client-side

The code is a minimal handshake with the HelloRetryRequest message
implementation missing.
Can be tested with an OpenSSL server running TLS 1.3. The server must
be at least version 1.1.1 (September 2018).

Co-authored-by: ryru <pascal.knecht@hsr.ch>
scripts/tls_test.c
src/libtls/tls.c
src/libtls/tls.h
src/libtls/tls_alert.c
src/libtls/tls_alert.h
src/libtls/tls_crypto.c
src/libtls/tls_crypto.h
src/libtls/tls_fragmentation.c
src/libtls/tls_peer.c
src/libtls/tls_protection.c
src/libtls/tls_server.c