diff options
| author | Sean Liao <sean@liao.dev> | 2025-06-20 12:04:22 +0100 |
|---|---|---|
| committer | Sean Liao <sean@liao.dev> | 2025-06-20 11:09:26 -0700 |
| commit | 8ed23a2936dc5f3cf070c52043dcc0e92563e62b (patch) | |
| tree | e4ade0f6ce55fe6c4a939eb8fa5d89cdd199a73f /src | |
| parent | ef60769b46c5ef796876c6b4407562646fb27d15 (diff) | |
| download | go-8ed23a2936dc5f3cf070c52043dcc0e92563e62b.tar.xz | |
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 <daniel@binaryparadox.net>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/crypto/cipher/gcm.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
