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

3 uses

	golang.org/x/crypto/chacha20 (current package)
		chacha_generic.go#L152: func (s *Cipher) SetCounter(counter uint32) {

	golang.org/x/crypto/chacha20poly1305
		chacha20poly1305_generic.go#L43: 	s.SetCounter(1) // set the counter to 1, skipping 32 bytes
		chacha20poly1305_generic.go#L63: 	s.SetCounter(1) // set the counter to 1, skipping 32 bytes