Mercurial > hg > nginx
diff src/event/ngx_event_quic_protection.h @ 8339:aba84d9ab256 quic
Parsing of truncated packet numbers.
For sample decoding algorithm, see quic-transport-27#appendix-A.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 16 Apr 2020 12:46:48 +0300 |
parents | 29354c6fc5f2 |
children | a5141e6b3214 |
line wrap: on
line diff
--- a/src/event/ngx_event_quic_protection.h Wed Apr 15 18:54:03 2020 +0300 +++ b/src/event/ngx_event_quic_protection.h Thu Apr 16 12:46:48 2020 +0300 @@ -39,7 +39,8 @@ ssize_t ngx_quic_encrypt(ngx_quic_header_t *pkt, ngx_ssl_conn_t *ssl_conn, ngx_str_t *res); -ngx_int_t ngx_quic_decrypt(ngx_quic_header_t *pkt, ngx_ssl_conn_t *ssl_conn); +ngx_int_t ngx_quic_decrypt(ngx_quic_header_t *pkt, ngx_ssl_conn_t *ssl_conn, + uint64_t *largest_pn); #endif /* _NGX_EVENT_QUIC_PROTECTION_H_INCLUDED_ */