Generate stateless reset tokens by hashing instead of XOR.

This will allow us to support connection ID lengths greater than 24 which is required per latest IETF draft on version negotiation (QUICv1 requires the connection ID length to be <= 20 but if we receive a packet of an unknown version with connection ID lengths of up to 255 we need to properly send a version negotiation packet in response). Protected by quic_use_hashed_stateless_reset_tokens.

gfe-relnote: change stateless reset token generation, protected by disabled gfe2_restart_flag_quic_use_hashed_stateless_reset_tokens
PiperOrigin-RevId: 264287305
Change-Id: I921a1137fc1ceaa3a799ec486e0609d051feadc4
3 files changed
tree: 148b44566dbd6031470c97d0e3f902479185182f
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.

The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.