summaryrefslogtreecommitdiffstats
path: root/src/crypto/subtle/xor_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/subtle/xor_amd64.go')
-rw-r--r--src/crypto/subtle/xor_amd64.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/crypto/subtle/xor_amd64.go b/src/crypto/subtle/xor_amd64.go
new file mode 100644
index 0000000..3bb2f08
--- /dev/null
+++ b/src/crypto/subtle/xor_amd64.go
@@ -0,0 +1,10 @@
+// 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 !purego
+
+package subtle
+
+//go:noescape
+func xorBytes(dst, a, b *byte, n int)