Source File
cfb.go
Belonging Package
crypto/cipher
package cipher
import
type cfb struct {
b Block
next []byte
out []byte
outUsed int
decrypt bool
}
func ( *cfb) (, []byte) {
if len() < len() {
panic("crypto/cipher: output smaller than input")
}
if subtle.InexactOverlap([:len()], ) {
panic("crypto/cipher: invalid buffer overlap")
}
for len() > 0 {
if .outUsed == len(.out) {
.b.Encrypt(.out, .next)
.outUsed = 0
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |