golang.org/x/crypto/ssh.cbcCipher.packetData (field)
24 uses
golang.org/x/crypto/ssh (current package)
cipher.go#L420: packetData []byte
cipher.go#L433: packetData: make([]byte, 1024),
cipher.go#L509: firstBlock := c.packetData[:firstBlockLength]
cipher.go#L545: if uint32(cap(c.packetData)) < entirePacketSize {
cipher.go#L548: c.packetData = make([]byte, entirePacketSize)
cipher.go#L549: copy(c.packetData, firstBlock)
cipher.go#L551: c.packetData = c.packetData[:entirePacketSize]
cipher.go#L554: n, err := io.ReadFull(r, c.packetData[firstBlockLength:])
cipher.go#L560: remainingCrypted := c.packetData[firstBlockLength:macStart]
cipher.go#L563: mac := c.packetData[macStart:]
cipher.go#L568: c.mac.Write(c.packetData[:macStart])
cipher.go#L575: return c.packetData[prefixLen:paddingStart], nil
cipher.go#L593: if uint32(cap(c.packetData)) < bufferSize {
cipher.go#L594: c.packetData = make([]byte, encLength, bufferSize)
cipher.go#L596: c.packetData = c.packetData[:encLength]
cipher.go#L599: p := c.packetData
cipher.go#L620: c.mac.Write(c.packetData)
cipher.go#L622: c.packetData = c.mac.Sum(c.packetData)
cipher.go#L625: c.encrypter.CryptBlocks(c.packetData[:encLength], c.packetData[:encLength])
cipher.go#L627: if _, err := w.Write(c.packetData); err != nil {
 |
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. |