Skip to content

Commit

Permalink
crypto/elliptic/internal/nistec: move to crypto/internal/nistec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
FiloSottile committed May 5, 2022
1 parent a218b35 commit 52de401
Show file tree
Hide file tree
Showing 38 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/ssa/stmtlines_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/elliptic/nistec.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package elliptic

import (
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"errors"
"math/big"
)
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/elliptic/nistec_p256.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package elliptic

import (
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"math/big"
)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package fiat_test

import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"testing"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package nistec_test
import (
"bytes"
"crypto/elliptic"
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"math/big"
"math/rand"
"os"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package nistec

import (
"crypto/elliptic/internal/fiat"
"crypto/internal/nistec/fiat"
"sync"
)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package nistec_test
import (
"bytes"
"crypto/elliptic"
"crypto/elliptic/internal/nistec"
"crypto/internal/nistec"
"math/big"
"testing"
)
Expand Down
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/go/build/deps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52de401

Please sign in to comment.