]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/cipher: Fix comment punctuation
authorMarkus Kusano <kusano@google.com>
Wed, 9 Jul 2025 19:52:09 +0000 (19:52 +0000)
committerMarkus Kusano <kusano@google.com>
Thu, 10 Jul 2025 16:27:20 +0000 (09:27 -0700)
Change-Id: I7dc086a87d28ab847288eed13f719421420cd004
Reviewed-on: https://go-review.googlesource.com/c/go/+/686997
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/crypto/cipher/cfb.go

index b493e05fe27ce59fc7654fcd2a10143689ef1300..7de682fac36d98ad9637131f2ae4dd59c559abb0 100644 (file)
@@ -86,7 +86,7 @@ func NewCFBDecrypter(block Block, iv []byte) Stream {
 func newCFB(block Block, iv []byte, decrypt bool) Stream {
        blockSize := block.BlockSize()
        if len(iv) != blockSize {
-               // stack trace will indicate whether it was de or encryption
+               // Stack trace will indicate whether it was de- or en-cryption.
                panic("cipher.newCFB: IV length must equal block size")
        }
        x := &cfb{