]> git.kaiwu.me - nginx.git/commit
QUIC: removed key field from ngx_quic_secret_t.
authorSergey Kandaurov <pluknet@nginx.com>
Fri, 20 Oct 2023 14:05:07 +0000 (18:05 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Fri, 20 Oct 2023 14:05:07 +0000 (18:05 +0400)
commitb94f1fbee375eaceebf0cf0645ff83ae1966e55a
tree43ea12c73e75841510efc7bfe5ed3f76868e8a90
parent01bd8cacebafedf4540bc97d040ddc644aaa5418
QUIC: removed key field from ngx_quic_secret_t.

It is made local as it is only needed now when creating crypto context.

BoringSSL lacks EVP interface for ChaCha20, providing instead
a function for one-shot encryption, thus hp is still preserved.

Based on a patch by Roman Arutyunyan.
src/event/quic/ngx_event_quic_openssl_compat.c
src/event/quic/ngx_event_quic_protection.c
src/event/quic/ngx_event_quic_protection.h