crypto/cipher.Block.BlockSize (method)
28 uses
crypto/cipher (current package)
cbc.go#L32: blockSize: b.BlockSize(),
cbc.go#L34: tmp: make([]byte, b.BlockSize()),
cbc.go#L51: if len(iv) != b.BlockSize() {
cbc.go#L71: if len(iv) != b.BlockSize() {
cbc.go#L130: if len(iv) != b.BlockSize() {
cbc.go#L150: if len(iv) != b.BlockSize() {
cfb.go#L87: blockSize := block.BlockSize()
cipher.go#L17: BlockSize() int
ctr.go#L51: if len(iv) != block.BlockSize() {
ctr.go#L55: if bufSize < block.BlockSize() {
ctr.go#L56: bufSize = block.BlockSize()
ctr.go#L79: bs := x.b.BlockSize()
ctr.go#L107: if x.outUsed >= len(x.out)-x.b.BlockSize() {
gcm.go#L217: if cipher.BlockSize() != gcmBlockSize {
ofb.go#L36: blockSize := b.BlockSize()
ofb.go#L56: bs := x.b.BlockSize()
ofb.go#L80: if x.outUsed >= len(x.out)-x.b.BlockSize() {
crypto/x509
pem_decrypt.go#L155: if len(b.Bytes)%block.BlockSize() != 0 {
github.com/gotd/ige
decrypt.go#L25: return i.block.BlockSize()
decrypt.go#L39: if len(src)%block.BlockSize() != 0 {
decrypt.go#L46: b := block.BlockSize()
encrypt.go#L25: return i.block.BlockSize()
encrypt.go#L39: if len(src)%block.BlockSize() != 0 {
encrypt.go#L46: b := block.BlockSize()
ige.go#L46: if len(iv) != b.BlockSize()*2 {
github.com/gotd/td/crypto
exchange.go#L24: if len(dataWithHash)%cipher.BlockSize() != 0 {
github.com/gotd/td/telegram/downloader
cdn_verify.go#L319: if block.BlockSize() != len(redirect.EncryptionIv) {
cdn_verify.go#L322: block.BlockSize(), len(redirect.EncryptionIv),
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |