goimports -w .
This commit is contained in:
parent
cea5e44f2d
commit
22014931d4
5 changed files with 10 additions and 5 deletions
|
@ -6,8 +6,9 @@ package btcec_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/ecdsa"
|
"crypto/ecdsa"
|
||||||
"github.com/conformal/btcec"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/conformal/btcec"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BenchmarkAddJacobian benchmarks the secp256k1 curve addJacobian function with
|
// BenchmarkAddJacobian benchmarks the secp256k1 curve addJacobian function with
|
||||||
|
|
|
@ -13,9 +13,10 @@ import (
|
||||||
"crypto/sha1"
|
"crypto/sha1"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/conformal/btcec"
|
|
||||||
"math/big"
|
"math/big"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/conformal/btcec"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestAddJacobian tests addition of points projected in Jacobian coordinates.
|
// TestAddJacobian tests addition of points projected in Jacobian coordinates.
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
package btcec_test
|
package btcec_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/conformal/btcec"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/conformal/btcec"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestSetInt ensures that setting a field value to various native integers
|
// TestSetInt ensures that setting a field value to various native integers
|
||||||
|
|
|
@ -6,9 +6,10 @@ package btcec_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"testing"
|
||||||
|
|
||||||
"github.com/conformal/btcec"
|
"github.com/conformal/btcec"
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
"testing"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type privKeyTest struct {
|
type privKeyTest struct {
|
||||||
|
|
|
@ -9,9 +9,10 @@ import (
|
||||||
"crypto/ecdsa"
|
"crypto/ecdsa"
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/conformal/btcec"
|
|
||||||
"math/big"
|
"math/big"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/conformal/btcec"
|
||||||
)
|
)
|
||||||
|
|
||||||
type signatureTest struct {
|
type signatureTest struct {
|
||||||
|
|
Loading…
Add table
Reference in a new issue