From 818353022e03620b1c4966ec5ef8691e21f06ec7 Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Sun, 10 Sep 2017 00:22:27 +0100 Subject: [PATCH] crypto/elliptic: temporarily disable s390x assembly This disables the s390x assembly. It will be re-enabled when #20215 is resolved on s390x. Change-Id: I789eca2dd478004956107359fae98ed012f04abb Reviewed-on: https://go-review.googlesource.com/62292 Run-TryBot: Michael Munday TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/crypto/elliptic/p256_s390x.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/crypto/elliptic/p256_s390x.go b/src/crypto/elliptic/p256_s390x.go index 2ed4c0b9e7..45cd2915f9 100644 --- a/src/crypto/elliptic/p256_s390x.go +++ b/src/crypto/elliptic/p256_s390x.go @@ -32,7 +32,10 @@ func hasVectorFacility() bool var hasVX = hasVectorFacility() func initP256Arch() { - if hasVX { + // Assembly implementation is temporarily disabled until issue + // #20215 is fixed. + // if hasVX { + if false { p256 = p256CurveFast{p256Params} initTable() return -- 2.50.0