From 7662df772e4ac171c79467678861ac4d7547da78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chaoshuai=20L=C3=BC?= Date: Tue, 29 Nov 2022 11:03:58 -0800 Subject: [PATCH] crypto/des: fix a typo in the comment for permuteFinalBlock #56969 The comment copy pasted from the permuteInitialBlock and should be fixed. --- src/crypto/des/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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