[gnutls-devel] GnuTLS | ktls: fix ChaCha20-Poly1305 IV passing for TLS 1.2 (!2079)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Mar 3 20:13:02 CET 2026
Alexander Sosedkin created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/2079
Project:Branches: asosedkin/gnutls:ktls-chacha-iv-fix to gnutls/gnutls:master
Author: Alexander Sosedkin
Reviewer: František Krenželok
<!-- Add a description of the new feature/bug fix. Reference any relevant bugs. -->
For TLS 1.2 + Chacha20 + KTLS, IV was effectively sequence number + a bit of stack garbage.
The test forks client and server, so the likelihood of said garbage matching was high, masking the issue.
* ktls: fix ChaCha20-Poly1305 IV passing for TLS 1.2 - the fix
* ktls: simplify ChaCha20‑Poly1305 IV passing for TLS 1.2 - should be a no-op
## Checklist
* [x] Commits have `Signed-off-by:` with name/author being identical to the commit author
* [ ] Code modified for feature
* [ ] Test suite updated with functionality tests
* [ ] Test suite updated with negative tests
* [ ] Documentation updated / NEWS entry present (for non-trivial changes)
## Reviewer's checklist:
* [ ] Any issues marked for closing are addressed
* [ ] There is a test suite reasonably covering new functionality or modifications
* [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md`
* [ ] This feature/change has adequate documentation added
* [ ] No obvious mistakes in the code
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2079
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-4fgryfs0s287eou2lax6xp7u0/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260303/5d827c72/attachment.html>
More information about the Gnutls-devel
mailing list