diff options
Diffstat (limited to 'vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go')
| -rw-r--r-- | vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go b/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go deleted file mode 100644 index bd183d9ba..000000000 --- a/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2019 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 gc && !purego && (ppc64 || ppc64le) - -package chacha20 - -const bufSize = 256 - -//go:noescape -func chaCha20_ctr32_vsx(out, inp *byte, len int, key *[8]uint32, counter *uint32) - -func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) { - chaCha20_ctr32_vsx(&dst[0], &src[0], len(src), &c.key, &c.counter) -} |
