Custom fork of rust-secp256k1 with unsafe modifications for higher speed. Unsuitable for production.
Go to file
Andrew Poelstra c84cfb193f [BREAKING CHANGE] Make PK::from_secret_key() return a Result; change from_ffi functions to From impls
If you try to call PublicKey::from_secret() key with an incapable context it will
now return an error. Before it would pass through to the underlying library which
would terminate the process, something we strive to never expose.

Also change the from_ffi functions on various types to impl's of From to be more
Rustic. We cannot change the from_slice functions because they have error returns.

Also add a Secp256k1::without_caps() function which creates a capability-less
context. I find myself using this in so many places downstream that it seems
appropriate.
2015-10-14 09:38:43 -05:00
src [BREAKING CHANGE] Make PK::from_secret_key() return a Result; change from_ffi functions to From impls 2015-10-14 09:38:43 -05:00
.gitignore Add gitignore 2014-08-04 19:59:58 -04:00
.travis.yml Fix for upstream API changes; add ECDH support 2015-09-18 15:40:42 -05:00
Cargo.toml [BREAKING CHANGE] Make PK::from_secret_key() return a Result; change from_ffi functions to From impls 2015-10-14 09:38:43 -05:00
LICENSE Remove the MIT/CC0 license in favor of just CC0 2015-03-25 18:36:30 -05:00
Makefile Initial (failing) implementation. 2014-07-06 22:41:22 -07:00
README.md Fix documentation link in README; github interprets it as an image then breaks the URL 2015-04-16 14:09:25 -05:00

README.md

Build Status

rust-secp256k1

rust-secp256k1 is a wrapper around libsecp256k1, a C library by Peter Wuille for producing ECDSA signatures using the SECG curve secp256k1. This library

  • exposes type-safe Rust bindings for all libsecp256k1 functions
  • implements key generation
  • implements deterministic nonce generation via RFC6979
  • implements many unit tests, adding to those already present in libsecp256k1
  • makes no allocations (except in unit tests) for efficiency and use in freestanding implementations

Full documentation