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])
![]() |
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. |