const crypto/aes.BlockSize
32 uses
crypto/aes (current package)
aes_gcm.go#L95: if uint64(len(plaintext)) > ((1<<32)-2)*BlockSize {
aes_gcm.go#L144: if uint64(len(ciphertext)) > ((1<<32)-2)*uint64(BlockSize)+uint64(g.tagSize) {
cipher.go#L15: const BlockSize = 16
cipher.go#L56: func (c *aesCipher) BlockSize() int { return BlockSize }
cipher.go#L59: if len(src) < BlockSize {
cipher.go#L62: if len(dst) < BlockSize {
cipher.go#L65: if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
cipher.go#L72: if len(src) < BlockSize {
cipher.go#L75: if len(dst) < BlockSize {
cipher.go#L78: if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
cipher_asm.go#L68: func (c *aesCipherAsm) BlockSize() int { return BlockSize }
cipher_asm.go#L72: if len(src) < BlockSize {
cipher_asm.go#L75: if len(dst) < BlockSize {
cipher_asm.go#L78: if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
cipher_asm.go#L86: if len(src) < BlockSize {
cipher_asm.go#L89: if len(dst) < BlockSize {
cipher_asm.go#L92: if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
crypto/tls
ticket.go#L324: encrypted := make([]byte, aes.BlockSize+len(state)+sha256.Size)
ticket.go#L325: iv := encrypted[:aes.BlockSize]
ticket.go#L326: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L365: if len(encrypted) < aes.BlockSize+sha256.Size {
ticket.go#L369: iv := encrypted[:aes.BlockSize]
ticket.go#L370: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
crypto/x509
pem_decrypt.go#L63: blockSize: aes.BlockSize,
pem_decrypt.go#L69: blockSize: aes.BlockSize,
pem_decrypt.go#L75: blockSize: aes.BlockSize,
github.com/gotd/td/session/tdesktop
local_key.go#L48: if l := len(encrypted); l%aes.BlockSize != 0 {
local_key.go#L73: if l := len(decrypted); l%aes.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. |