Skip to content

Commit 8ed23a2

Browse files
committed
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 <[email protected]> Reviewed-by: Junyang Shao <[email protected]> Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent ef60769 commit 8ed23a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/cipher/gcm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func newGCM(cipher Block, nonceSize, tagSize int) (AEAD, error) {
8282

8383
// NewGCMWithRandomNonce returns the given cipher wrapped in Galois Counter
8484
// Mode, with randomly-generated nonces. The cipher must have been created by
85-
// [aes.NewCipher].
85+
// [crypto/aes.NewCipher].
8686
//
8787
// It generates a random 96-bit nonce, which is prepended to the ciphertext by Seal,
8888
// and is extracted from the ciphertext by Open. The NonceSize of the AEAD is zero,

0 commit comments

Comments
 (0)