test-hkdf: Add two test cases and restructure all tests

RFC 8448 contains multiple TLS 1.3 message traces, this commit adds two
new test cases focusing on key derivation:

- Simple 1-RTT Handshake
- Resumed 0-RTT Handshake

Additionally, the whole test suite is restructured and duplicate code is
removed and consolidated.
This commit is contained in:
Pascal Knecht authored and Tobias Brunner committed 2021-02-12 14:35:23 +01:00
1 parent 7797c058d9
commit 9389fef78a
1 file changed
+630 -342
File diff suppressed because it is too large. Load diff