]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/elliptic: temporarily disable s390x assembly
authorMichael Munday <mike.munday@ibm.com>
Sat, 9 Sep 2017 23:22:27 +0000 (00:22 +0100)
committerAdam Langley <agl@golang.org>
Mon, 11 Sep 2017 17:26:17 +0000 (17:26 +0000)
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 <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/crypto/elliptic/p256_s390x.go

index 2ed4c0b9e7d5cb50094957b194c000132812a290..45cd2915f92cbe6957c6427a8d63a3f96ca33333 100644 (file)
@@ -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