]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/ed25519/internal/edwards25519: move to crypto/internal/edwards25519
authorFilippo Valsorda <filippo@golang.org>
Thu, 7 Apr 2022 19:15:31 +0000 (15:15 -0400)
committerFilippo Valsorda <filippo@golang.org>
Thu, 5 May 2022 21:53:10 +0000 (21:53 +0000)
commit7c74b0db8a27188d0ca3bb2f4bd46d00c0dc8eea
treeb216eb2807b9408a2cdd2c1c7522841e797613e2
parent52de40120d2efdaf39e881b53a14ad38e948cbd7
crypto/ed25519/internal/edwards25519: move to crypto/internal/edwards25519

This will allow us to use crypto/internal/edwards25519/field from
crypto/ecdh to implement X25519, dropping the dependency on
golang.org/x/crypto/curve25519.

For #52182

Change-Id: I3be9debc6e13bf06944b98668f34313a975914d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/402556
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
26 files changed:
src/crypto/ed25519/ed25519.go
src/crypto/internal/edwards25519/doc.go [moved from src/crypto/ed25519/internal/edwards25519/doc.go with 100% similarity]
src/crypto/internal/edwards25519/edwards25519.go [moved from src/crypto/ed25519/internal/edwards25519/edwards25519.go with 97% similarity]
src/crypto/internal/edwards25519/edwards25519_test.go [moved from src/crypto/ed25519/internal/edwards25519/edwards25519_test.go with 99% similarity]
src/crypto/internal/edwards25519/field/_asm/fe_amd64_asm.go [moved from src/crypto/ed25519/internal/edwards25519/field/_asm/fe_amd64_asm.go with 99% similarity]
src/crypto/internal/edwards25519/field/_asm/go.mod [moved from src/crypto/ed25519/internal/edwards25519/field/_asm/go.mod with 100% similarity]
src/crypto/internal/edwards25519/field/_asm/go.sum [moved from src/crypto/ed25519/internal/edwards25519/field/_asm/go.sum with 100% similarity]
src/crypto/internal/edwards25519/field/fe.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_alias_test.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_alias_test.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_amd64.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_amd64.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_amd64.s [moved from src/crypto/ed25519/internal/edwards25519/field/fe_amd64.s with 100% similarity]
src/crypto/internal/edwards25519/field/fe_amd64_noasm.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_amd64_noasm.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_arm64.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_arm64.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_arm64.s [moved from src/crypto/ed25519/internal/edwards25519/field/fe_arm64.s with 100% similarity]
src/crypto/internal/edwards25519/field/fe_arm64_noasm.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_arm64_noasm.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_bench_test.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_bench_test.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_generic.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_generic.go with 100% similarity]
src/crypto/internal/edwards25519/field/fe_test.go [moved from src/crypto/ed25519/internal/edwards25519/field/fe_test.go with 100% similarity]
src/crypto/internal/edwards25519/scalar.go [moved from src/crypto/ed25519/internal/edwards25519/scalar.go with 100% similarity]
src/crypto/internal/edwards25519/scalar_alias_test.go [moved from src/crypto/ed25519/internal/edwards25519/scalar_alias_test.go with 100% similarity]
src/crypto/internal/edwards25519/scalar_test.go [moved from src/crypto/ed25519/internal/edwards25519/scalar_test.go with 100% similarity]
src/crypto/internal/edwards25519/scalarmult.go [moved from src/crypto/ed25519/internal/edwards25519/scalarmult.go with 100% similarity]
src/crypto/internal/edwards25519/scalarmult_test.go [moved from src/crypto/ed25519/internal/edwards25519/scalarmult_test.go with 100% similarity]
src/crypto/internal/edwards25519/tables.go [moved from src/crypto/ed25519/internal/edwards25519/tables.go with 100% similarity]
src/crypto/internal/edwards25519/tables_test.go [moved from src/crypto/ed25519/internal/edwards25519/tables_test.go with 100% similarity]
src/go/build/deps_test.go