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:
parent
a218b3520a
commit
52de40120d
@ -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 {
|
||||
|
@ -5,7 +5,7 @@
|
||||
package elliptic
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/nistec"
|
||||
"crypto/internal/nistec"
|
||||
"errors"
|
||||
"math/big"
|
||||
)
|
||||
|
@ -7,7 +7,7 @@
|
||||
package elliptic
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/nistec"
|
||||
"crypto/internal/nistec"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
package fiat_test
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/fiat"
|
||||
"crypto/internal/nistec/fiat"
|
||||
"testing"
|
||||
)
|
||||
|
@ -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"
|
@ -7,7 +7,7 @@ package nistec_test
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/elliptic"
|
||||
"crypto/elliptic/internal/nistec"
|
||||
"crypto/internal/nistec"
|
||||
"math/big"
|
||||
"math/rand"
|
||||
"os"
|
@ -7,7 +7,7 @@
|
||||
package nistec
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/fiat"
|
||||
"crypto/internal/nistec/fiat"
|
||||
"crypto/subtle"
|
||||
"errors"
|
||||
"sync"
|
@ -5,7 +5,7 @@
|
||||
package nistec
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/fiat"
|
||||
"crypto/internal/nistec/fiat"
|
||||
"sync"
|
||||
)
|
||||
|
@ -9,7 +9,7 @@
|
||||
package nistec
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/fiat"
|
||||
"crypto/internal/nistec/fiat"
|
||||
"crypto/subtle"
|
||||
"errors"
|
||||
"sync"
|
@ -9,7 +9,7 @@ package nistec_test
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/elliptic"
|
||||
"crypto/elliptic/internal/nistec"
|
||||
"crypto/internal/nistec"
|
||||
"math/big"
|
||||
"testing"
|
||||
)
|
@ -7,7 +7,7 @@
|
||||
package nistec
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/fiat"
|
||||
"crypto/internal/nistec/fiat"
|
||||
"crypto/subtle"
|
||||
"errors"
|
||||
"sync"
|
@ -7,7 +7,7 @@
|
||||
package nistec
|
||||
|
||||
import (
|
||||
"crypto/elliptic/internal/fiat"
|
||||
"crypto/internal/nistec/fiat"
|
||||
"crypto/subtle"
|
||||
"errors"
|
||||
"sync"
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user