aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/sha3/keccakf_amd64.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-02 03:02:57 +0800
committerFelix Lange <fjl@twurst.com>2016-10-02 03:26:43 +0800
commit54ea317375273c8bb558194eb04c73925da9ac14 (patch)
tree92b3aa79c040930bc3f5c37c978589bd7082ac12 /crypto/sha3/keccakf_amd64.go
parent0731b44809f72ed5880dc3654ee70ae85420bd77 (diff)
downloadgo-tangerine-54ea317375273c8bb558194eb04c73925da9ac14.tar.gz
go-tangerine-54ea317375273c8bb558194eb04c73925da9ac14.tar.zst
go-tangerine-54ea317375273c8bb558194eb04c73925da9ac14.zip
crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4
This pulls in the assembly implementation of keccakf1600 for amd64.
Diffstat (limited to 'crypto/sha3/keccakf_amd64.go')
-rw-r--r--crypto/sha3/keccakf_amd64.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto/sha3/keccakf_amd64.go b/crypto/sha3/keccakf_amd64.go
new file mode 100644
index 000000000..de035c550
--- /dev/null
+++ b/crypto/sha3/keccakf_amd64.go
@@ -0,0 +1,13 @@
+// Copyright 2015 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.
+
+// +build amd64,!appengine,!gccgo
+
+package sha3
+
+// This function is implemented in keccakf_amd64.s.
+
+//go:noescape
+
+func keccakF1600(state *[25]uint64)