comparison src/event/quic/ngx_event_quic_protection.c @ 8755:b4e6b7049984 quic

QUIC: normalize header inclusion. Stop including QUIC headers with no user-serviceable parts inside. This allows to provide a much cleaner QUIC interface. To cope with that, ngx_quic_derive_key() is now explicitly exported for v3 and quic modules. Additionally, this completely hides the ngx_quic_keys_t internal type.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 13 Apr 2021 12:38:34 +0300
parents c0cd180308e4
children 4715f3e669f1
comparison
equal deleted inserted replaced
8754:915c2f7092ed 8755:b4e6b7049984
5 5
6 6
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 #include <ngx_event.h> 9 #include <ngx_event.h>
10 #include <ngx_event_quic_transport.h> 10 #include <ngx_event_quic_connection.h>
11 #include <ngx_event_quic_protection.h>
12 11
13 12
14 #define NGX_QUIC_IV_LEN 12 13 #define NGX_QUIC_IV_LEN 12
15 14
16 #define NGX_AES_128_GCM_SHA256 0x1301 15 #define NGX_AES_128_GCM_SHA256 0x1301