]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: Initialize stateless reset tokens with HKDF secrets
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 6 May 2022 13:07:20 +0000 (15:07 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 12 May 2022 15:48:35 +0000 (17:48 +0200)
commit28a1795515abed3d65a03a7f56a9acb19a75fc45
treebcf913b6104a31d65551420f59164e607b7904a8
parent0226c521b0bdc53c6571dc37e2fc0aaf2edb18f2
MINOR: quic: Initialize stateless reset tokens with HKDF secrets

Add quic_stateless_reset_token_init() wrapper function around
quic_hkdf_extract_and_expand() function to derive the stateless reset tokens
attached to the connection IDs from "cluster-secret" configuration setting
and call it each time we instantiate a QUIC connection ID.
src/xprt_quic.c