Merge pull request #6 from cheatfate/master

Added secp256k1_ecdsa_recoverable_signature_parse_compact().
This commit is contained in:
Yuriy Glukhov 2018-03-19 16:53:12 +02:00 committed by GitHub
commit b810d49470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -255,6 +255,11 @@ proc secp256k1_ecdsa_recoverable_signature_serialize_compact*(
## In: sig: a pointer to an initialized signature object (cannot be NULL)
##
proc secp256k1_ecdsa_recoverable_signature_parse_compact*(
ctx: ptr secp256k1_context;
sig: ptr secp256k1_ecdsa_recoverable_signature;
input64: ptr cuchar, recid: cint): cint {.secp.}
proc secp256k1_ecdh*(ctx: ptr secp256k1_context; output32: ptr cuchar;
pubkey: ptr secp256k1_pubkey;
input32: ptr cuchar): cint {.secp.}