Skip to content

Commit 0091fc8

Browse files
prattmicgopherbot
authored andcommitted
Revert "blake2s: add loong64 SIMD implementation"
This reverts CL 661215. Reason for revert: Does not build on 1.23 or 1.24 Fixes #73354. Change-Id: I90abd8a3dabf5c0d9fd1062de3ba3e78ecb2f2e8 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/664796 Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 parent 388684e commit 0091fc8

File tree

4 files changed

+7
-230
lines changed

4 files changed

+7
-230
lines changed

blake2s/blake2s_loong64.go

-20
This file was deleted.

blake2s/blake2s_loong64.s

-196
This file was deleted.

blake2s/blake2s_ref.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
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 && !386 && !loong64) || !gc || purego
5+
//go:build (!amd64 && !386) || !gc || purego
66

77
package blake2s
88

9+
var (
10+
useSSE4 = false
11+
useSSSE3 = false
12+
useSSE2 = false
13+
)
14+
915
func hashBlocks(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte) {
1016
hashBlocksGeneric(h, c, flag, blocks)
1117
}

blake2s/blake2s_var.go

-13
This file was deleted.

0 commit comments

Comments
 (0)