1
0
mirror of https://github.com/golang/go synced 2024-09-29 12:24:31 -06:00

crypto/elliptic/internal/nistec: move to crypto/internal/nistec

So it's reachable from crypto/ecdsa and the upcoming crypto/ecdh.

No code changes.

For #52182

Change-Id: Ie3216052f46c6ef7ec64d8b87a233a9c50c4b16a
Reviewed-on: https://go-review.googlesource.com/c/go/+/398674
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
This commit is contained in:
Filippo Valsorda 2022-04-06 15:04:47 -04:00
parent a218b3520a
commit 52de40120d
38 changed files with 14 additions and 14 deletions

View File

@ -89,7 +89,7 @@ func TestStmtLines(t *testing.T) {
if pkgname == "runtime" {
continue
}
if pkgname == "crypto/elliptic/internal/fiat" {
if pkgname == "crypto/internal/nistec/fiat" {
continue // golang.org/issue/49372
}
if e.Val(dwarf.AttrStmtList) == nil {

View File

@ -5,7 +5,7 @@
package elliptic
import (
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"errors"
"math/big"
)

View File

@ -7,7 +7,7 @@
package elliptic
import (
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"math/big"
)

View File

@ -5,7 +5,7 @@
package fiat_test
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"testing"
)

View File

@ -151,7 +151,7 @@ const tmplNISTEC = `// Copyright 2022 The Go Authors. All rights reserved.
package nistec
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"

View File

@ -7,7 +7,7 @@ package nistec_test
import (
"bytes"
"crypto/elliptic"
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"math/big"
"math/rand"
"os"

View File

@ -7,7 +7,7 @@
package nistec
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"

View File

@ -5,7 +5,7 @@
package nistec
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"sync"
)

View File

@ -9,7 +9,7 @@
package nistec
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"

View File

@ -9,7 +9,7 @@ package nistec_test
import (
"bytes"
"crypto/elliptic"
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"math/big"
"testing"
)

View File

@ -7,7 +7,7 @@
package nistec
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"

View File

@ -7,7 +7,7 @@
package nistec
import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"

View File

@ -406,8 +406,8 @@ var depsRules = `
< crypto
< crypto/subtle
< crypto/internal/subtle
< crypto/elliptic/internal/fiat
< crypto/elliptic/internal/nistec
< crypto/internal/nistec/fiat
< crypto/internal/nistec
< crypto/ed25519/internal/edwards25519/field, golang.org/x/crypto/curve25519/internal/field
< crypto/ed25519/internal/edwards25519
< crypto/cipher