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
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |