golang.org/x/crypto/chacha20.Cipher.XORKeyStream (method)

9 uses

	golang.org/x/crypto/chacha20 (current package)
		chacha_generic.go#L184: func (s *Cipher) XORKeyStream(dst, src []byte) {

	golang.org/x/crypto/ssh
		cipher.go#L671: 	s.XORKeyStream(polyKey[:], polyKey[:])
		cipher.go#L672: 	s.XORKeyStream(discardBuf[:], discardBuf[:]) // skip the next 32 bytes
		cipher.go#L684: 	ls.XORKeyStream(lenBytes[:], encryptedLength)
		cipher.go#L711: 	s.XORKeyStream(plain, plain)
		cipher.go#L737: 	s.XORKeyStream(polyKey[:], polyKey[:])
		cipher.go#L738: 	s.XORKeyStream(discardBuf[:], discardBuf[:]) // skip the next 32 bytes
		cipher.go#L762: 	ls.XORKeyStream(c.buf, c.buf[:4])
		cipher.go#L770: 	s.XORKeyStream(c.buf[4:], c.buf[4:packetEnd])