rangeproof: expose sidechannel message field in the signing API

Including a fix by Jonas Nick.
This commit is contained in:
Andrew Poelstra
2016-07-05 15:46:07 +00:00
parent cf40b1bed2
commit d46fc3c191
5 changed files with 52 additions and 11 deletions

View File

@@ -199,7 +199,9 @@ SECP256K1_WARN_UNUSED_RESULT int secp256k1_rangeproof_sign(
const unsigned char *nonce,
int exp,
int min_bits,
uint64_t value
uint64_t value,
const unsigned char *message,
size_t msg_len
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(5) SECP256K1_ARG_NONNULL(6) SECP256K1_ARG_NONNULL(7);
/** Extract some basic information from a range-proof.