golang.org/x/crypto/ssh.streamPacketCipher.prefix (field)

19 uses

	golang.org/x/crypto/ssh (current package)
		cipher.go#L144: 	prefix      [prefixLen]byte
		cipher.go#L153: 	if _, err := io.ReadFull(r, s.prefix[:]); err != nil {
		cipher.go#L159: 		copy(encryptedPaddingLength[:], s.prefix[4:5])
		cipher.go#L160: 		s.cipher.XORKeyStream(s.prefix[4:5], s.prefix[4:5])
		cipher.go#L162: 		s.cipher.XORKeyStream(s.prefix[:], s.prefix[:])
		cipher.go#L165: 	length := binary.BigEndian.Uint32(s.prefix[0:4])
		cipher.go#L166: 	paddingLength := uint32(s.prefix[4])
		cipher.go#L174: 			s.mac.Write(s.prefix[:4])
		cipher.go#L177: 			s.mac.Write(s.prefix[:])
		cipher.go#L241: 	binary.BigEndian.PutUint32(s.prefix[:], uint32(length))
		cipher.go#L242: 	s.prefix[4] = byte(paddingLength)
		cipher.go#L256: 			s.cipher.XORKeyStream(s.prefix[4:5], s.prefix[4:5])
		cipher.go#L259: 		s.mac.Write(s.prefix[:])
		cipher.go#L271: 		s.cipher.XORKeyStream(s.prefix[:], s.prefix[:])
		cipher.go#L283: 	if _, err := w.Write(s.prefix[:]); err != nil {