]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic_tls: Make key update use of reusable cipher contexts
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 5 Apr 2022 14:28:38 +0000 (16:28 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Apr 2022 13:38:29 +0000 (15:38 +0200)
commit8c7927c6dd57769bdd0661defa50b7cbcb280088
treeefff703d716d3e62d75b9d734746ac2819c88d86
parent3dfd4c4b0d9b5780c4e2761c467791e276e3a84d
MINOR: quic_tls: Make key update use of reusable cipher contexts

We modify the key update feature implementation to support reusable cipher contexts
as this is done for the other cipher contexts for packet decryption and encryption.
To do so we attach a context to the quic_tls_kp struct and initialize it each time
the underlying secret key is updated. Same thing when we rotate the secrets keys,
we rotate the contexts as the same time.
include/haproxy/quic_tls-t.h
include/haproxy/quic_tls.h
src/xprt_quic.c