aboutsummaryrefslogtreecommitdiff
path: root/blake2s/blake2s_ref.go
diff options
context:
space:
mode:
Diffstat (limited to 'blake2s/blake2s_ref.go')
-rw-r--r--blake2s/blake2s_ref.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/blake2s/blake2s_ref.go b/blake2s/blake2s_ref.go
index 3ae9b1c..38ce8e2 100644
--- a/blake2s/blake2s_ref.go
+++ b/blake2s/blake2s_ref.go
@@ -2,10 +2,16 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build (!amd64 && !386 && !loong64) || !gc || purego
+//go:build (!amd64 && !386) || !gc || purego
package blake2s
+var (
+ useSSE4 = false
+ useSSSE3 = false
+ useSSE2 = false
+)
+
func hashBlocks(h *[8]uint32, c *[2]uint32, flag uint32, blocks []byte) {
hashBlocksGeneric(h, c, flag, blocks)
}