From: Sean Liao Date: Fri, 20 Jun 2025 11:04:22 +0000 (+0100) Subject: crypto/cipher: fix link to crypto/aes X-Git-Tag: go1.25rc2~2^2~46 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8ed23a2936dc5f3cf070c52043dcc0e92563e62b;p=gostls13.git crypto/cipher: fix link to crypto/aes Fixes #74309 Change-Id: I4d97514355d825124a8d879c2590b45b039f5fd1 Reviewed-on: https://go-review.googlesource.com/c/go/+/682596 Reviewed-by: Daniel McCarney Reviewed-by: Junyang Shao Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI --- diff --git a/src/crypto/cipher/gcm.go b/src/crypto/cipher/gcm.go index 5580f96d55..73493f6cd2 100644 --- a/src/crypto/cipher/gcm.go +++ b/src/crypto/cipher/gcm.go @@ -82,7 +82,7 @@ func newGCM(cipher Block, nonceSize, tagSize int) (AEAD, error) { // NewGCMWithRandomNonce returns the given cipher wrapped in Galois Counter // Mode, with randomly-generated nonces. The cipher must have been created by -// [aes.NewCipher]. +// [crypto/aes.NewCipher]. // // It generates a random 96-bit nonce, which is prepended to the ciphertext by Seal, // and is extracted from the ciphertext by Open. The NonceSize of the AEAD is zero,