aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorPaul E. Murphy <murp@ibm.com>2024-11-19 12:31:08 -0600
committerPaul Murphy <murp@ibm.com>2024-11-19 20:47:33 +0000
commit2e607475903b9cceacfac6bc900ed8d7e42d4231 (patch)
tree632884f90933b9f612d6b7ff977303f23d22c309 /src/crypto
parent8f9a420a7219674413927b35c2c80c25c200919d (diff)
downloadgo-2e607475903b9cceacfac6bc900ed8d7e42d4231.tar.xz
crypto/internal/fips/aes/gcm: skip TestAllocations on PPC64
TestAllocations is failing on PPC64 causing all PPC64 CI to fail. Skip the test until it can be debugged. For #70448 Change-Id: Ic18e402f4af5939a90eba2e1f2b182699013ed55 Reviewed-on: https://go-review.googlesource.com/c/go/+/629697 Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/internal/fips/aes/gcm/ctrkdf_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/internal/fips/aes/gcm/ctrkdf_test.go b/src/crypto/internal/fips/aes/gcm/ctrkdf_test.go
index 9ed46c3b0b..ec8cddbd98 100644
--- a/src/crypto/internal/fips/aes/gcm/ctrkdf_test.go
+++ b/src/crypto/internal/fips/aes/gcm/ctrkdf_test.go
@@ -12,10 +12,14 @@ import (
"crypto/internal/fips/drbg"
"crypto/internal/fips/sha3"
"encoding/hex"
+ "runtime"
"testing"
)
func TestAllocations(t *testing.T) {
+ if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" {
+ t.Skip("Test reports non-zero allocation count. See issue #70448")
+ }
cryptotest.SkipTestAllocations(t)
if allocs := testing.AllocsPerRun(10, func() {
key := make([]byte, 32)