diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-05-23 12:23:06 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-06-16 09:26:28 +1000 |
commit | 754d2282cd50fef14971605d7151623bb11e3fd6 (patch) | |
tree | a715f7476da2c4819f6c91ad461d010aa52161e9 /include/internal | |
parent | 8f9c9213a1ba034de3140a0d0c0c3b1e46afe457 (diff) |
QUIC RX: Support reporting the key epoch a packet was received with
This is needed to support key update validation on the receive side.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21029)
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/quic_record_rx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/quic_record_rx.h b/include/internal/quic_record_rx.h index f8527eaae6..29755e2df1 100644 --- a/include/internal/quic_record_rx.h +++ b/include/internal/quic_record_rx.h @@ -246,6 +246,12 @@ typedef struct ossl_qrx_pkt_st { /* The QRX which was used to receive the packet. */ OSSL_QRX *qrx; + + /* + * The key epoch the packet was received with. Always 0 for non-1-RTT + * packets. + */ + uint64_t key_epoch; } OSSL_QRX_PKT; /* |