mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
crypto/cipher: Fix comment punctuation
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>
This commit is contained in:
parent
8131635e5a
commit
63ec70d4e1
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue