Skip to content

Commit

Permalink
crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4
Browse files Browse the repository at this point in the history
This pulls in the assembly implementation of keccakf1600 for amd64.
  • Loading branch information
fjl committed Oct 1, 2016
1 parent 0731b44 commit 54ea317
Show file tree
Hide file tree
Showing 6 changed files with 410 additions and 3 deletions.
2 changes: 2 additions & 0 deletions crypto/sha3/keccakf.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// 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

// rc stores the round constants for use in the ι step.
Expand Down
13 changes: 13 additions & 0 deletions crypto/sha3/keccakf_amd64.go
Original file line number Diff line number Diff line change
@@ -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)
Loading

0 comments on commit 54ea317

Please sign in to comment.