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