Home | History | Annotate | Download | only in cipher

Lines Matching refs:block

10 	b       Block
43 // using the given Block. The iv must be the same length as the Block's block
45 func NewCFBEncrypter(block Block, iv []byte) Stream {
46 return newCFB(block, iv, false)
50 // using the given Block. The iv must be the same length as the Block's block
52 func NewCFBDecrypter(block Block, iv []byte) Stream {
53 return newCFB(block, iv, true)
56 func newCFB(block Block, iv []byte, decrypt bool) Stream {
57 blockSize := block.BlockSize()
60 panic("cipher.newCFB: IV length must equal block size")
63 b: block,