prysm-pulse/crypto/secp256k1
Fynn 8bf9cd853f FreeBSD support
Former-commit-id: ff5dba816571945e8c0837f3ef52485da5fd7314 [formerly 2f23f618fd8f01331b593ab4e064138047fe7c77]
Former-commit-id: 1ec5e7440481e307be5e131ac0a416fd7d2fea9f
2015-07-28 19:16:16 -03:00
..
secp256k1 FreeBSD support 2015-07-28 19:16:16 -03:00
.gitignore FreeBSD support 2015-07-28 19:16:16 -03:00
notes.go FreeBSD support 2015-07-28 19:16:16 -03:00
README.md FreeBSD support 2015-07-28 19:16:16 -03:00
secp256_test.go FreeBSD support 2015-07-28 19:16:16 -03:00
secp256.go FreeBSD support 2015-07-28 19:16:16 -03: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