const crypto/aes.BlockSize
30 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#L69: func (c *aesCipherAsm) BlockSize() int { return BlockSize }
cipher_asm.go#L73: if len(src) < BlockSize {
cipher_asm.go#L76: if len(dst) < BlockSize {
cipher_asm.go#L79: if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
cipher_asm.go#L87: if len(src) < BlockSize {
cipher_asm.go#L90: if len(dst) < BlockSize {
cipher_asm.go#L93: if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
crypto/tls
ticket.go#L325: encrypted := make([]byte, aes.BlockSize+len(state)+sha256.Size)
ticket.go#L326: iv := encrypted[:aes.BlockSize]
ticket.go#L327: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L366: if len(encrypted) < aes.BlockSize+sha256.Size {
ticket.go#L370: iv := encrypted[:aes.BlockSize]
ticket.go#L371: 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,
![]() |
The pages are generated with Golds v0.7.6. (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. |