MINOR: quic: Add several nonce and key definitions for Retry tag
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 8 Jun 2022 06:26:03 +0000 (08:26 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 16 Jun 2022 12:56:24 +0000 (14:56 +0200)
commit3f96a0a4c100664985336dafeaae124c86e124f2
treea7ffb7819ef2eb60351f02d397ccc7e64f358250
parent01d515e0133c243d1e8c012f78faaeafcd4aa569
MINOR: quic: Add several nonce and key definitions for Retry tag

The nonce and keys used to cipher the Retry tag depend on the QUIC version.
Add these definitions for 0xff00001d (draft-29) and v2 QUIC version. At least
draft-29 is useful for QUIC tracker tests with "quic-force-retry" enabled
on haproxy side.
Validated with -v 0xff00001d ngtcp2 option.
Could not validate the v2 nonce and key at this time because not supported.
include/haproxy/quic_tls.h
include/haproxy/xprt_quic-t.h
src/quic_tls.c
src/xprt_quic.c