PRCYCoin  2.0.0.7rc1
P2P Digital Currency
rangeproof.h
Go to the documentation of this file.
1 /**********************************************************************
2  * Copyright (c) 2015 Gregory Maxwell *
3  * Distributed under the MIT software license, see the accompanying *
4  * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
5  **********************************************************************/
6 
7 #ifndef _SECP256K1_RANGEPROOF_H_
8 #define _SECP256K1_RANGEPROOF_H_
9 
10 #include "scalar.h"
11 #include "group.h"
12 #include "ecmult.h"
13 #include "ecmult_gen.h"
14 
15 static int secp256k1_rangeproof_verify_impl(const secp256k1_ecmult_context* ecmult_ctx,
16  const secp256k1_ecmult_gen_context* ecmult_gen_ctx,
17  unsigned char *blindout, uint64_t *value_out, unsigned char *message_out, size_t *outlen, const unsigned char *nonce,
18  uint64_t *min_value, uint64_t *max_value, const secp256k1_ge *commit, const unsigned char *proof, size_t plen,
19  const unsigned char *extra_commit, size_t extra_commit_len, const secp256k1_ge* genp);
20 
21 #endif
secp256k1_ecmult_gen_context
Definition: ecmult_gen.h:13
secp256k1_ecmult_context
Definition: ecmult.h:15
secp256k1_ge
A group element of the secp256k1 curve, in affine coordinates.
Definition: group.h:14