Skip to content

Commit 54ea317

Browse files
committed
crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4
This pulls in the assembly implementation of keccakf1600 for amd64.
1 parent 0731b44 commit 54ea317

File tree

6 files changed

+410
-3
lines changed

6 files changed

+410
-3
lines changed

crypto/sha3/keccakf.go

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
// +build !amd64 appengine gccgo
6+
57
package sha3
68

79
// rc stores the round constants for use in the ι step.

crypto/sha3/keccakf_amd64.go

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Copyright 2015 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// +build amd64,!appengine,!gccgo
6+
7+
package sha3
8+
9+
// This function is implemented in keccakf_amd64.s.
10+
11+
//go:noescape
12+
13+
func keccakF1600(state *[25]uint64)

0 commit comments

Comments
 (0)