aboutsummaryrefslogtreecommitdiff
path: root/argon2/argon2.go
diff options
context:
space:
mode:
authorSean Liao <sean@liao.dev>2025-10-19 00:57:52 +0100
committerSean Liao <sean@liao.dev>2025-10-22 18:37:21 -0700
commit017a1aaa2d993492ef6f74ebe7c87f33d82d3717 (patch)
tree2bfec65ac062dedcd4febf7e1fa7e7ba3a07ad2b /argon2/argon2.go
parentcf29fa96f8b66328e59829f064539321159bfa5b (diff)
downloadgo-x-crypto-017a1aaa2d993492ef6f74ebe7c87f33d82d3717.tar.xz
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>
Diffstat (limited to 'argon2/argon2.go')
0 files changed, 0 insertions, 0 deletions