diff options
| author | Sebastiaan van Stijn <github@gone.nl> | 2023-09-25 17:15:31 +0000 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2023-09-27 14:30:17 +0000 |
| commit | b665ba6f6f9abc2ab124f8ec2cb44de0e44ce077 (patch) | |
| tree | de94f42523ac448da2121708155c08baa2123a57 /nacl | |
| parent | a1aeb9b34eb6b8f469bbd66b9cd1c9d905cb3714 (diff) | |
| download | go-x-crypto-b665ba6f6f9abc2ab124f8ec2cb44de0e44ce077.tar.xz | |
all: use crypto/ed25519 instead of golang.org/x/crypto/ed25519
This is a follow-up to CL 317169, which dropped go1.12 compatibility,
and made the golang.org/x/crypto/ed25519 package an alias / wrapper for
crypto/ed25519 in stdlib.
This patch updates uses within this repository to use stdlib instead of
depending on the wrapper. With this patch applied, the only remaining
use of the wrapper is in ed25519_test, which appears to be in place to
verify compatibility of the wrapper itself.
Change-Id: I0195396102a75ae20bdd82ca8ab59855c0eb5cea
GitHub-Last-Rev: 24dbec563cbd84bc47bdc7736b0245fc83dd3353
GitHub-Pull-Request: golang/crypto#238
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/448238
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Nicola Murino <nicola.murino@gmail.com>
Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'nacl')
| -rw-r--r-- | nacl/sign/sign.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nacl/sign/sign.go b/nacl/sign/sign.go index 8a6acdc..109c08b 100644 --- a/nacl/sign/sign.go +++ b/nacl/sign/sign.go @@ -21,9 +21,9 @@ package sign import ( + "crypto/ed25519" "io" - "golang.org/x/crypto/ed25519" "golang.org/x/crypto/internal/alias" ) |
