]> git.kaiwu.me - haproxy.git/commit
TESTS: quic: add HKDF unit tests using RFC 5869 vectors
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 16 Oct 2026 07:39:21 +0000 (09:39 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 16 Oct 2026 08:41:24 +0000 (10:41 +0200)
commit33656ebb7c862d567912f2b6b5fcf5264c0e2d88
treee48364c938b1d0f386880d7046f364af492b1ee3
parent20686bf5fde227d857dc757ffd791353bb99256e
TESTS: quic: add HKDF unit tests using RFC 5869 vectors

Check HKDF-Extract, HKDF-Expand and their combined operation against
the SHA-256 test vectors from RFC 5869, appendix A, cases 1 and 3.

Cover both populated and empty salt/info inputs, repeating case 1
after case 3 to check that successive calls remain independent.

Register the test as "quic_hkdf" and add it to the QUIC unit test runner.
src/quic_tls.c
tests/unit/quic/quic.sh