]> git.kaiwu.me - nginx.git/commit
QUIC: consistent use of 12-byte buffers in nonce computation.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 16 Jun 2021 14:54:21 +0000 (17:54 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 16 Jun 2021 14:54:21 +0000 (17:54 +0300)
commit4e741d638f70f07d3e63a6ff34e3058180c9cf56
tree1757f6f63d365a10d22271d13114b5da320e7f51
parentb5e4f1f4f0e82848bf2fb2e431365b8376dc5f31
QUIC: consistent use of 12-byte buffers in nonce computation.

All supported cipher suites produce 96-bit IV (RFC 5116, 5.1, RFC 8439, 2.3).
This eliminates a few magic numbers and run-time overhead.
src/event/quic/ngx_event_quic_protection.c