Debian Codegraph @

src/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go

raw
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 (!arm64 && !s390x && !ppc64 && !ppc64le) || !gc || purego
6
7 package chacha20
8
9 const bufSize = blockSize
10
11 func (s *Cipher) xorKeyStreamBlocks(dst, src []byte) {
12 s.xorKeyStreamBlocksGeneric(dst, src)
13 }