Skip to content

Commit 03fd9e0

Browse files
committed
crypto/keccak: asm version of keccakF1600 on arm64
1 parent bba41f8 commit 03fd9e0

File tree

3 files changed

+5188
-1
lines changed

3 files changed

+5188
-1
lines changed

crypto/keccak/keccakf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !amd64 || purego || !gc
5+
//go:build (!amd64 && !arm64) || purego || !gc
66

77
package keccak
88

crypto/keccak/keccakf_arm64.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Copyright 2026 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+
//go:build gc && !purego && arm64
6+
7+
package keccak
8+
9+
//go:noescape
10+
func keccakF1600(a *[25]uint64)

0 commit comments

Comments
 (0)