Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/crypto: chacha20 lacks method to set counter, which is needed for QUIC #36862
QUIC uses ChaCha20 for its header protection: https://tools.ietf.org/html/draft-ietf-quic-tls-25#section-5.4.4. In order to calculate the header protection mask, a QUIC implementation needs to be able to set the counter based on the ciphertext: