The official NGINX Open Source repository.
Go to file
Vladimir Homutov d0ebfa4cb9 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).
2020-03-16 19:00:47 +03:00
auto Split transport and crypto parts into separate files. 2020-03-16 19:00:47 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2019-06-30 10:39:01 +03:00
docs nginx-1.17.8-RELEASE 2020-01-21 16:39:41 +03:00
misc Updated OpenSSL used for win32 builds. 2019-09-24 16:30:03 +03:00
src Split transport and crypto parts into separate files. 2020-03-16 19:00:47 +03:00
.hgtags release-1.17.8 tag 2020-01-21 16:39:42 +03:00