crypto/cipher.Block.BlockSize (method)
28 uses
crypto/cipher (current package)
cbc.go#L30: blockSize: b.BlockSize(),
cbc.go#L32: tmp: make([]byte, b.BlockSize()),
cbc.go#L50: if len(iv) != b.BlockSize() {
cbc.go#L64: if len(iv) != b.BlockSize() {
cbc.go#L121: if len(iv) != b.BlockSize() {
cbc.go#L135: if len(iv) != b.BlockSize() {
cfb.go#L68: blockSize := block.BlockSize()
cipher.go#L17: BlockSize() int
ctr.go#L43: if len(iv) != block.BlockSize() {
ctr.go#L47: if bufSize < block.BlockSize() {
ctr.go#L48: bufSize = block.BlockSize()
ctr.go#L62: bs := x.b.BlockSize()
ctr.go#L87: if x.outUsed >= len(x.out)-x.b.BlockSize() {
gcm.go#L125: if cipher.BlockSize() != gcmBlockSize {
gcm.go#L172: if uint64(len(plaintext)) > ((1<<32)-2)*uint64(g.cipher.BlockSize()) {
gcm.go#L211: if uint64(len(ciphertext)) > ((1<<32)-2)*uint64(g.cipher.BlockSize())+uint64(g.tagSize) {
ofb.go#L25: blockSize := b.BlockSize()
ofb.go#L45: bs := x.b.BlockSize()
ofb.go#L69: 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/internal/crypto
exchange.go#L25: if len(dataWithHash)%cipher.BlockSize() != 0 {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |