aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2022-03-17 09:43:29 -0700
committerJordan <me@jordan.im>2022-03-17 09:43:29 -0700
commit66bfe530b4fd5cb9755337ce718df26ee81f1b77 (patch)
tree9dfc8a79183b8bffc12db5a92f957e3bfd37d4f2 /vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
parent2f0b35e3c25bc4394f3288e1baa77d250cb510ed (diff)
downloadkeep-66bfe530b4fd5cb9755337ce718df26ee81f1b77.tar.gz
keep-66bfe530b4fd5cb9755337ce718df26ee81f1b77.zip
misc: go get -u ./... ; go mod vendor
Diffstat (limited to 'vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go')
-rw-r--r--vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go b/vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
index f9269c3..c400dfc 100644
--- a/vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
+++ b/vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build amd64,!appengine,!gccgo
+//go:build amd64 && !purego && gc
+// +build amd64,!purego,gc
package salsa
-// This function is implemented in salsa2020_amd64.s.
-
//go:noescape
+// salsa2020XORKeyStream is implemented in salsa20_amd64.s.
func salsa2020XORKeyStream(out, in *byte, n uint64, nonce, key *byte)
// XORKeyStream crypts bytes from in to out using the given key and counters.