golang.org/x/crypto/ssh.gcmCipher.buf (field)

19 uses

	golang.org/x/crypto/ssh (current package)
		cipher.go#L307: 	buf    []byte
		cipher.go#L343: 	if cap(c.buf) < int(length) {
		cipher.go#L344: 		c.buf = make([]byte, length)
		cipher.go#L346: 		c.buf = c.buf[:length]
		cipher.go#L349: 	c.buf[0] = padding
		cipher.go#L350: 	copy(c.buf[1:], packet)
		cipher.go#L351: 	if _, err := io.ReadFull(rand, c.buf[1+len(packet):]); err != nil {
		cipher.go#L354: 	c.buf = c.aead.Seal(c.buf[:0], c.iv, c.buf, c.prefix[:])
		cipher.go#L355: 	if _, err := w.Write(c.buf); err != nil {
		cipher.go#L381: 	if cap(c.buf) < int(length+gcmTagSize) {
		cipher.go#L382: 		c.buf = make([]byte, length+gcmTagSize)
		cipher.go#L384: 		c.buf = c.buf[:length+gcmTagSize]
		cipher.go#L387: 	if _, err := io.ReadFull(r, c.buf); err != nil {
		cipher.go#L391: 	plain, err := c.aead.Open(c.buf[:0], c.iv, c.buf, c.prefix[:])