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

3 uses

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

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