]> Cypherpunks repositories - gostls13.git/commit
crypto/des: correct finalPermutation comment from 4-bit to 64-bit
authorcuishuang <imcusg@gmail.com>
Mon, 15 Dec 2025 02:22:03 +0000 (10:22 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 9 Feb 2026 23:23:40 +0000 (15:23 -0800)
commit0f550bcfc3ad8525331d535d1f1e844d86472cbe
tree54ae23604a2be1c5d80b74cf96158fdd9abc1574
parent64a71d4f845d388a1c8c5bb1fd70d33c32a2aaf3
crypto/des: correct finalPermutation comment from 4-bit to 64-bit

The finalPermutation array operates on a 64-bit preoutput block,
not a 4-bit block. This updates the comment to accurately
reflect the size of the data being processed in the DES
algorithm's final permutation step.

Change-Id: Ib6a5828a2e72d8bc8d04a3d413eaac320c15df15
Reviewed-on: https://go-review.googlesource.com/c/go/+/730020
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
src/crypto/des/const.go