summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/sha256-simd/sha256block_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/minio/sha256-simd/sha256block_other.go')
-rw-r--r--vendor/github.com/minio/sha256-simd/sha256block_other.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/vendor/github.com/minio/sha256-simd/sha256block_other.go b/vendor/github.com/minio/sha256-simd/sha256block_other.go
index ec586c060..94d7eb0b4 100644
--- a/vendor/github.com/minio/sha256-simd/sha256block_other.go
+++ b/vendor/github.com/minio/sha256-simd/sha256block_other.go
@@ -1,4 +1,5 @@
-//+build appengine noasm !amd64,!arm64 !gc
+//go:build appengine || noasm || (!amd64 && !arm64) || !gc
+// +build appengine noasm !amd64,!arm64 !gc
/*
* Minio Cloud Storage, (C) 2019 Minio, Inc.
@@ -18,11 +19,11 @@
package sha256
-func blockShaGo(dig *digest, p []byte) {
- panic("blockShaGo called unexpectedly")
+func blockIntelShaGo(dig *digest, p []byte) {
+ panic("blockIntelShaGo called unexpectedly")
}
-func blockArmGo(dig *digest, p []byte) {
- panic("blockArmGo called unexpectedly")
+func blockArmSha2Go(dig *digest, p []byte) {
+ panic("blockArmSha2Go called unexpectedly")
}