op-geth/crypto/secp256k1
Noel Maersk 958c04e79a doc: crypto/secp256k1 GMP dependency package name.
Linux build documentation is mostly geared towards Ubuntu 14.04 (LTS).
Appropriate package is called `libgmp-dev` there.

Note that on pristine installations building `geth` with godep will
fail because this header is missing. This is not documented in the
top-level README, but is on the wiki:

https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu#building-geth-command-line-client

That page recommends `libgmp3-dev`, which ATM provides same version
as `libgmp-dev`.
2015-04-23 17:33:48 +03:00
..
secp256k1 Update bitcoin secp256k1 lib 2015-04-07 12:14:05 +02:00
.gitignore Moved `obscuren` secp256k1-go 2015-01-22 00:35:00 +01:00
README.md doc: crypto/secp256k1 GMP dependency package name. 2015-04-23 17:33:48 +03:00
notes.go Moved `obscuren` secp256k1-go 2015-01-22 00:35:00 +01:00
secp256.go Adding flags to facilitate cross compiling to ARM 2015-04-22 17:04:46 +02:00
secp256_test.go Added invalid sec key test 2015-02-16 13:19:57 +01:00

README.md

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