go chacha_noasm 源码

  • 2022-07-15
  • 浏览 (897)

golang chacha_noasm 代码

文件路径:/src/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go

// 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) || (arm64 && !go1.11) || !gc || purego
// +build !arm64,!s390x,!ppc64le arm64,!go1.11 !gc purego

package chacha20

const bufSize = blockSize

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

相关信息

go 源码目录

相关文章

go chacha_arm64 源码

go chacha_generic 源码

go chacha_ppc64le 源码

go chacha_s390x 源码

go xor 源码

0  赞