Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <r1cs_gg_ppzksnark.hpp>
Public Member Functions | |
r1cs_gg_ppzksnark_proof () | |
r1cs_gg_ppzksnark_proof (libff::G1< ppT > &&g_A, libff::G2< ppT > &&g_B, libff::G1< ppT > &&g_C) | |
size_t | G1_size () const |
size_t | G2_size () const |
size_t | size_in_bits () const |
void | print_size () const |
bool | is_well_formed () const |
bool | operator== (const r1cs_gg_ppzksnark_proof< ppT > &other) const |
Public Attributes | |
libff::G1< ppT > | g_A |
libff::G2< ppT > | g_B |
libff::G1< ppT > | g_C |
Friends | |
std::ostream & | operator (std::ostream &out, const r1cs_gg_ppzksnark_proof< ppT > &proof) |
std::istream & | operator>> (std::istream &in, r1cs_gg_ppzksnark_proof< ppT > &proof) |
A proof for the R1CS GG-ppzkSNARK.
While the proof has a structure, externally one merely opaquely produces, serializes/deserializes, and verifies proofs. We only expose some information about the structure for statistics purposes.
Definition at line 306 of file r1cs_gg_ppzksnark.hpp.
|
inline |
Definition at line 329 of file r1cs_gg_ppzksnark.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 360 of file r1cs_gg_ppzksnark.hpp.
bool libsnark::r1cs_gg_ppzksnark_proof< ppT >::operator== | ( | const r1cs_gg_ppzksnark_proof< ppT > & | other | ) | const |
|
inline |
|
inline |
Definition at line 344 of file r1cs_gg_ppzksnark.hpp.
|
friend |
|
friend |
libff::G1<ppT> libsnark::r1cs_gg_ppzksnark_proof< ppT >::g_A |
Definition at line 325 of file r1cs_gg_ppzksnark.hpp.
libff::G2<ppT> libsnark::r1cs_gg_ppzksnark_proof< ppT >::g_B |
Definition at line 326 of file r1cs_gg_ppzksnark.hpp.
libff::G1<ppT> libsnark::r1cs_gg_ppzksnark_proof< ppT >::g_C |
Definition at line 327 of file r1cs_gg_ppzksnark.hpp.