1// Copyright 2018 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build go1.11 && gc && !purego
6// +build go1.11,gc,!purego
7
8package chacha20
9
10const bufSize = 256
11
12//go:noescape
13func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
14
15func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) {
16	xorKeyStreamVX(dst, src, &c.key, &c.nonce, &c.counter)
17}
18