comparison src/event/quic/ngx_event_quic_protection.h @ 9174:31702c53d2db

QUIC: reusing crypto contexts for header protection.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 20 Oct 2023 18:05:07 +0400
parents 4ccb0d973206
children 8dacf87e4007
comparison
equal deleted inserted replaced
9173:904a54092d5b 9174:31702c53d2db
49 ngx_quic_md_t secret; 49 ngx_quic_md_t secret;
50 ngx_quic_md_t key; 50 ngx_quic_md_t key;
51 ngx_quic_iv_t iv; 51 ngx_quic_iv_t iv;
52 ngx_quic_md_t hp; 52 ngx_quic_md_t hp;
53 ngx_quic_crypto_ctx_t *ctx; 53 ngx_quic_crypto_ctx_t *ctx;
54 EVP_CIPHER_CTX *hp_ctx;
54 } ngx_quic_secret_t; 55 } ngx_quic_secret_t;
55 56
56 57
57 typedef struct { 58 typedef struct {
58 ngx_quic_secret_t client; 59 ngx_quic_secret_t client;