From: Chaoshuai Lü Date: Wed, 30 Nov 2022 12:29:46 +0000 (+0000) Subject: crypto/des: fix a typo in the comment for permuteFinalBlock X-Git-Tag: go1.20rc1~48 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7e92b80c21ea22b9dcfb27cc68c61b805485f379;p=gostls13.git 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: 7662df772e4ac171c79467678861ac4d7547da78 GitHub-Pull-Request: golang/go#56982 Reviewed-on: https://go-review.googlesource.com/c/go/+/453995 TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Russ Cox --- diff --git a/src/crypto/des/block.go b/src/crypto/des/block.go index 192913094e..e0299760d9 100644 --- a/src/crypto/des/block.go +++ b/src/crypto/des/block.go @@ -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