libtls: Implement HKDF for TLS 1.3
authorPascal K <pascal.knecht@hsr.ch>
Thu, 21 May 2020 05:57:14 +0000 (07:57 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 10:45:44 +0000 (11:45 +0100)
commit02d740551256a2aa29d27c76dbdcf741e1b85cf5
tree6358f857995da3cd05c40088101763c00c28f32b
parent3d83d348f454d1ec0b1d833e98edc80286c5691e
libtls: Implement HKDF for TLS 1.3

TLS 1.3 uses HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
as defined in RFC 5869 to compute traffic secrets.

Co-authored-by: bytinbit <meline.sieber@hsr.ch>
src/libcharon/Android.mk
src/libtls/Makefile.am
src/libtls/tests/Makefile.am
src/libtls/tests/suites/test_hkdf.c [new file with mode: 0644]
src/libtls/tests/tls_tests.h
src/libtls/tls_hkdf.c [new file with mode: 0644]
src/libtls/tls_hkdf.h [new file with mode: 0644]