PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Macros | Functions
bench_bulletproof.c File Reference
#include <stdint.h>
#include "include/secp256k1_generator.h"
#include "include/secp256k1_commitment.h"
#include "include/secp256k1_bulletproofs.h"
#include "util.h"
#include "bench.h"
Include dependency graph for bench_bulletproof.c:

Go to the source code of this file.

Classes

struct  bench_bulletproof_t
 
struct  bench_bulletproof_rangeproof_t
 
struct  bench_bulletproof_circuit_t
 

Macros

#define MAX_PROOF_SIZE   2000
 
#define CIRCUIT_DIR   "src/modules/bulletproofs/bin_circuits/"
 

Functions

void simple_test_bench_bulletproof_rangeproof_prove (size_t nCommits, uint64_t *values)
 
void run_circuit_test (bench_bulletproof_circuit_t *data, const char *name)
 
int main (void)
 

Macro Definition Documentation

◆ CIRCUIT_DIR

#define CIRCUIT_DIR   "src/modules/bulletproofs/bin_circuits/"

Definition at line 16 of file bench_bulletproof.c.

◆ MAX_PROOF_SIZE

#define MAX_PROOF_SIZE   2000

Definition at line 15 of file bench_bulletproof.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 313 of file bench_bulletproof.c.

◆ run_circuit_test()

void run_circuit_test ( bench_bulletproof_circuit_t data,
const char *  name 
)

Definition at line 275 of file bench_bulletproof.c.

◆ simple_test_bench_bulletproof_rangeproof_prove()

void simple_test_bench_bulletproof_rangeproof_prove ( size_t  nCommits,
uint64_t *  values 
)

Definition at line 162 of file bench_bulletproof.c.

Here is the call graph for this function: