Update btcec import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 18:02:57 -06:00
parent 41317e8712
commit 45d21a254c
8 changed files with 14 additions and 14 deletions

View file

@ -22,32 +22,32 @@ use secp256k1 elliptic curve cryptography.
## Documentation ## Documentation
[![GoDoc](https://godoc.org/github.com/conformal/btcec?status.png)] [![GoDoc](https://godoc.org/github.com/btcsuite/btcec?status.png)]
(http://godoc.org/github.com/conformal/btcec) (http://godoc.org/github.com/btcsuite/btcec)
Full `go doc` style documentation for the project can be viewed online without Full `go doc` style documentation for the project can be viewed online without
installing this package by using the GoDoc site installing this package by using the GoDoc site
[here](http://godoc.org/github.com/conformal/btcec). [here](http://godoc.org/github.com/btcsuite/btcec).
You can also view the documentation locally once the package is installed with You can also view the documentation locally once the package is installed with
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
http://localhost:6060/pkg/github.com/conformal/btcec http://localhost:6060/pkg/github.com/btcsuite/btcec
## Installation ## Installation
```bash ```bash
$ go get github.com/conformal/btcec $ go get github.com/btcsuite/btcec
``` ```
## Examples ## Examples
* [Sign Message] * [Sign Message]
(http://godoc.org/github.com/conformal/btcec#example-package--SignMessage) (http://godoc.org/github.com/btcsuite/btcec#example-package--SignMessage)
Demonstrates signing a message with a secp256k1 private key that is first Demonstrates signing a message with a secp256k1 private key that is first
parsed form raw bytes and serializing the generated signature. parsed form raw bytes and serializing the generated signature.
* [Verify Signature] * [Verify Signature]
(http://godoc.org/github.com/conformal/btcec#example-package--VerifySignature) (http://godoc.org/github.com/btcsuite/btcec#example-package--VerifySignature)
Demonstrates verifying a secp256k1 signature against a public key that is Demonstrates verifying a secp256k1 signature against a public key that is
first parsed from raw bytes. The signature is also parsed from raw bytes. first parsed from raw bytes. The signature is also parsed from raw bytes.

View file

@ -7,7 +7,7 @@ package btcec_test
import ( import (
"testing" "testing"
"github.com/conformal/btcec" "github.com/btcsuite/btcec"
) )
// BenchmarkAddJacobian benchmarks the secp256k1 curve addJacobian function with // BenchmarkAddJacobian benchmarks the secp256k1 curve addJacobian function with

View file

@ -14,7 +14,7 @@ import (
"math/big" "math/big"
"testing" "testing"
"github.com/conformal/btcec" "github.com/btcsuite/btcec"
) )
// TestAddJacobian tests addition of points projected in Jacobian coordinates. // TestAddJacobian tests addition of points projected in Jacobian coordinates.

View file

@ -8,8 +8,8 @@ import (
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"github.com/btcsuite/btcec"
"github.com/btcsuite/btcwire" "github.com/btcsuite/btcwire"
"github.com/conformal/btcec"
) )
// This example demonstrates signing a message with a secp256k1 private key that // This example demonstrates signing a message with a secp256k1 private key that

View file

@ -9,7 +9,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/conformal/btcec" "github.com/btcsuite/btcec"
) )
// TestSetInt ensures that setting a field value to various native integers // TestSetInt ensures that setting a field value to various native integers

View file

@ -8,7 +8,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/conformal/btcec" "github.com/btcsuite/btcec"
) )
func TestPrivKeys(t *testing.T) { func TestPrivKeys(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/conformal/btcec" "github.com/btcsuite/btcec"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
) )

View file

@ -11,7 +11,7 @@ import (
"math/big" "math/big"
"testing" "testing"
"github.com/conformal/btcec" "github.com/btcsuite/btcec"
) )
type signatureTest struct { type signatureTest struct {