rangeproof: expose sidechannel message field in the signing API

Including a fix by Jonas Nick.
This commit is contained in:
Andrew Poelstra authored and Pieter Wuille committed 2017-04-03 07:46:53 -07:00
1 parent 9f21e1b518
commit 9722b11506
5 files changed
+52 -11

No files matched your search

+3 -1
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.