We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5daa1ec commit 2a3e311Copy full SHA for 2a3e311
include/secp256k1_rangeproof.h
@@ -10,6 +10,15 @@ extern "C" {
10
11
#include <stdint.h>
12
13
+/** Length of a message that can be embedded into a maximally-sized rangeproof
14
+ *
15
+ * It is not be possible to fit a message of this size into a non-maximally-sized
16
+ * rangeproof, but it is guaranteed that any embeddable message can fit into an
17
+ * array of this size. This constant is intended to be used for memory allocations
18
+ * and sanity checks.
19
+ */
20
+#define SECP256K1_RANGEPROOF_MAX_MESSAGE_LEN 3968
21
+
22
/** Opaque data structure that stores a Pedersen commitment
23
*
24
* The exact representation of data inside is implementation defined and not
0 commit comments