commit | 55367c86791be8fb54d03b2dc0e01eae90a9a893 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Mon May 16 10:27:57 2022 +0200 |
committer | Frédéric Lécaille <flecaille@haproxy.com> | Fri May 20 16:57:12 2022 +0200 |
tree | d292c2a174a1c8d651406a01e9f4ae3be583e893 | |
parent | a9c5d8da58c02d58097b8d7b592255c9fead5110 [diff] |
MINOR: quic_tls: Add quic_tls_decrypt2() implementation This function does exactly the same thing as quic_tls_decrypt(), except that it does reuse its input buffer as output buffer. This is needed to decrypt the Retry token without modifying the packet buffer which contains this token. Indeed, this would prevent us from decryption the packet itself as the token belong to the AEAD AAD for the packet.