From: Ruixin Bao Date: Tue, 28 Apr 2020 21:06:48 +0000 (-0400) Subject: crypto/ed25519: drop the purego build tag X-Git-Tag: go1.15beta1~312 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3dc4d373876f4515cb5937a47ef3dacd8590dfea;p=gostls13.git crypto/ed25519: drop the purego build tag Per suggestion in CL 202578, this CL drops the purego build tag used within this package. Change-Id: I33626c73d6602e321528544ee601741f7e634c1b Reviewed-on: https://go-review.googlesource.com/c/go/+/230677 Reviewed-by: Filippo Valsorda Run-TryBot: Michael Munday --- diff --git a/src/crypto/ed25519/ed25519_noasm.go b/src/crypto/ed25519/ed25519_noasm.go index afcc6fca68..caa84f74fb 100644 --- a/src/crypto/ed25519/ed25519_noasm.go +++ b/src/crypto/ed25519/ed25519_noasm.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !s390x purego +// +build !s390x package ed25519 diff --git a/src/crypto/ed25519/ed25519_s390x.go b/src/crypto/ed25519/ed25519_s390x.go index 3884c49ef7..c8627a0652 100644 --- a/src/crypto/ed25519/ed25519_s390x.go +++ b/src/crypto/ed25519/ed25519_s390x.go @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !purego - package ed25519 import ( diff --git a/src/crypto/ed25519/ed25519_s390x.s b/src/crypto/ed25519/ed25519_s390x.s index a2e2c9abc7..1c77b51a78 100644 --- a/src/crypto/ed25519/ed25519_s390x.s +++ b/src/crypto/ed25519/ed25519_s390x.s @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !purego - #include "textflag.h" // func kdsaSign(message, signature, privateKey []byte) bool