plugeth/crypto/secp256k1
Felix Lange e344e1d490 crypto/secp256k1: drop pkgsrc paths from CFLAGS
They cause compiler warnings for people who don't have these
directories. People with pkgsrc can add the directory through CGO_CFLAGS
instead.
2015-11-17 09:53:10 +01:00
..
libsecp256k1 Update libsecp256k1 2015-09-28 17:46:38 +02:00
.gitignore
notes.go
panic_cb.go crypto/secp256k1: raise internal errors as recoverable Go panic 2015-11-17 09:53:10 +01:00
README.md
secp256_test.go crypto/secp256k1: verify recovery ID before calling libsecp256k1 2015-11-17 09:51:59 +01:00
secp256.go crypto/secp256k1: drop pkgsrc paths from CFLAGS 2015-11-17 09:53:10 +01:00

secp256k1-go

golang secp256k1 library

Implements cryptographic operations for the secp256k1 ECDSA curve used by Bitcoin.

Installing

GMP library headers are required to build. On Debian-based systems, the package is called libgmp-dev.

sudo apt-get install libgmp-dev

Now compiles with cgo!

Test

To run tests do

go tests