From: Michael Munday Date: Sat, 9 Sep 2017 23:22:27 +0000 (+0100) Subject: crypto/elliptic: temporarily disable s390x assembly X-Git-Tag: go1.10beta1~1143 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=818353022e03620b1c4966ec5ef8691e21f06ec7;p=gostls13.git 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 --- 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