grin/secp256k1zkp
greybeard355113 ca496ee101 secp256k1zkp: Fix several warnings from implicitly declared function 'memcpy' (#42)
Added includes for <string.h> to explicitly declare 'memcpy' where needed.

This message is typical of messages suppressed by declaring 'memcpy':

    warning: In file included from depend/secp256k1-zkp/src/secp256k1.c:14:0:
    warning: depend/secp256k1-zkp/src/ecmult_impl.h: In function ‘secp256k1_ecmult_context_clone’:
    warning: depend/secp256k1-zkp/src/ecmult_impl.h:186:9: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
    warning:          memcpy(dst->pre_g, src->pre_g, size);
    warning:          ^~~~~~
2017-04-15 16:38:51 -07:00
..
depend/secp256k1-zkp secp256k1zkp: Fix several warnings from implicitly declared function 'memcpy' (#42) 2017-04-15 16:38:51 -07:00
src Replace AsFixedBytes with Sized + AsRef<[u8]> (#35) 2017-04-06 22:54:54 -07:00
.gitignore Initial import. 2016-10-20 20:06:12 -04:00
.travis.yml Initial import. 2016-10-20 20:06:12 -04:00
build.rs Initial import. 2016-10-20 20:06:12 -04:00
Cargo.toml Initial import. 2016-10-20 20:06:12 -04:00
LICENSE Initial import. 2016-10-20 20:06:12 -04:00
Makefile Initial import. 2016-10-20 20:06:12 -04:00
README.md Initial import. 2016-10-20 20:06:12 -04:00

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