comparison auto/modules @ 7687:69345a26ba69 quic

Split transport and crypto parts into separate files. New files: src/event/ngx_event_quic_protection.h src/event/ngx_event_quic_protection.c The protection.h header provides interface to the crypto part of the QUIC: 2 functions to initialize corresponding secrets: ngx_quic_set_initial_secret() ngx_quic_set_encryption_secret() and 2 functions to deal with packet processing: ngx_quic_encrypt() ngx_quic_decrypt() Also, structures representing secrets are defined there. All functions require SSL connection and a pool, only crypto operations inside, no access to nginx connections or events. Currently pool->log is used for the logging (instead of original c->log).
author Vladimir Homutov <vl@nginx.com>
date Mon, 16 Mar 2020 19:00:47 +0300
parents 38c0898b6df7
children ae35ccba7aa6
comparison
equal deleted inserted replaced
7686:7ada2feeac18 7687:69345a26ba69
1262 if [ $USE_OPENSSL = YES ]; then 1262 if [ $USE_OPENSSL = YES ]; then
1263 ngx_module_type=CORE 1263 ngx_module_type=CORE
1264 ngx_module_name=ngx_openssl_module 1264 ngx_module_name=ngx_openssl_module
1265 ngx_module_incs= 1265 ngx_module_incs=
1266 ngx_module_deps="src/event/ngx_event_openssl.h \ 1266 ngx_module_deps="src/event/ngx_event_openssl.h \
1267 src/event/ngx_event_quic.h" 1267 src/event/ngx_event_quic.h \
1268 src/event/ngx_event_quic_protection.h"
1268 ngx_module_srcs="src/event/ngx_event_openssl.c 1269 ngx_module_srcs="src/event/ngx_event_openssl.c
1269 src/event/ngx_event_openssl_stapling.c 1270 src/event/ngx_event_openssl_stapling.c
1270 src/event/ngx_event_quic.c" 1271 src/event/ngx_event_quic.c
1272 src/event/ngx_event_quic_protection.c"
1271 ngx_module_libs= 1273 ngx_module_libs=
1272 ngx_module_link=YES 1274 ngx_module_link=YES
1273 ngx_module_order= 1275 ngx_module_order=
1274 1276
1275 . auto/module 1277 . auto/module