| commit | 017a1aaa2d993492ef6f74ebe7c87f33d82d3717 | [log] [tgz] |
|---|---|---|
| author | Sean Liao <sean@liao.dev> | Sun Oct 19 00:57:52 2025 +0100 |
| committer | Sean Liao <sean@liao.dev> | Wed Oct 22 18:37:21 2025 -0700 |
| tree | 2bfec65ac062dedcd4febf7e1fa7e7ba3a07ad2b | |
| parent | cf29fa96f8b66328e59829f064539321159bfa5b [diff] |
chacha20poly1305: panic on dst and additionalData overlap The cipher.AEAD interface specifies that these should not overlap. This mirrors the check that the GCM implementation does. Fixes golang/go#75968 Updates golang/go#21624 Change-Id: If5fbb8611ff6c0aae44d50079bad29f56ce00f5b Reviewed-on: https://go-review.googlesource.com/c/crypto/+/712860 Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.