TLS 1.3 out-of-band pre-shared keys
Extend PSK API to allow using out-of-band PSKs in TLS 1.3. Session resumption on TLS 1.3 also uses them so I will probably build it on top of this.
Concerns
Maybe the tls13_psk
field should be in session->key
, rather than in session->internals
where it currently lives?
Checklist
-
Code modified for feature -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated
Reviewer's checklist:
-
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTION.md
-
This feature/change has adequate documentation added -
No obvious mistakes in the code
Resolves #125 (closed)
Edited by Nikos Mavrogiannopoulos