summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go
blob: db42e6676ab35b735626c5bee7ce4630d450975d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build (!arm64 && !s390x && !ppc64le) || !gc || purego

package chacha20

const bufSize = blockSize

func (s *Cipher) xorKeyStreamBlocks(dst, src []byte) {
	s.xorKeyStreamBlocksGeneric(dst, src)
}