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>
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 {
package elliptic
import (
- "crypto/elliptic/internal/nistec"
+ "crypto/internal/nistec"
"errors"
"math/big"
)
package elliptic
import (
- "crypto/elliptic/internal/nistec"
+ "crypto/internal/nistec"
"math/big"
)
package fiat_test
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"testing"
)
package nistec
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"
import (
"bytes"
"crypto/elliptic"
- "crypto/elliptic/internal/nistec"
+ "crypto/internal/nistec"
"math/big"
"math/rand"
"os"
package nistec
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"
package nistec
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"sync"
)
package nistec
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"
import (
"bytes"
"crypto/elliptic"
- "crypto/elliptic/internal/nistec"
+ "crypto/internal/nistec"
"math/big"
"testing"
)
package nistec
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"
package nistec
import (
- "crypto/elliptic/internal/fiat"
+ "crypto/internal/nistec/fiat"
"crypto/subtle"
"errors"
"sync"
< 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