1
0
mirror of https://github.com/golang/go synced 2024-09-30 07:28:36 -06:00

crypto/des: fix a typo in the comment for permuteFinalBlock

The comment copy pasted from the permuteInitialBlock and should be fixed.

Change-Id: I101f1deceadf9b0480e5b679e4e237bda601950b
GitHub-Last-Rev: 7662df772e
GitHub-Pull-Request: golang/go#56982
Reviewed-on: https://go-review.googlesource.com/c/go/+/453995
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Chaoshuai Lü 2022-11-30 12:29:46 +00:00 committed by Gopher Robot
parent 86963b458e
commit 7e92b80c21

View File

@ -182,7 +182,7 @@ func permuteInitialBlock(block uint64) uint64 {
return block
}
// permuteInitialBlock is equivalent to the permutation defined
// permuteFinalBlock is equivalent to the permutation defined
// by finalPermutation.
func permuteFinalBlock(block uint64) uint64 {
// Perform the same bit exchanges as permuteInitialBlock