Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <r1cs_se_ppzksnark.hpp>
Public Member Functions | |
r1cs_se_ppzksnark_proof () | |
r1cs_se_ppzksnark_proof (libff::G1< ppT > &&A, libff::G2< ppT > &&B, libff::G1< ppT > &&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_se_ppzksnark_proof< ppT > &other) const |
Public Attributes | |
libff::G1< ppT > | A |
libff::G2< ppT > | B |
libff::G1< ppT > | C |
Friends | |
std::ostream & | operator (std::ostream &out, const r1cs_se_ppzksnark_proof< ppT > &proof) |
std::istream & | operator>> (std::istream &in, r1cs_se_ppzksnark_proof< ppT > &proof) |
A proof for the R1CS SEppzkSNARK.
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 321 of file r1cs_se_ppzksnark.hpp.
|
inline |
Definition at line 344 of file r1cs_se_ppzksnark.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 369 of file r1cs_se_ppzksnark.hpp.
bool libsnark::r1cs_se_ppzksnark_proof< ppT >::operator== | ( | const r1cs_se_ppzksnark_proof< ppT > & | other | ) | const |
|
inline |
|
inline |
Definition at line 353 of file r1cs_se_ppzksnark.hpp.
|
friend |
|
friend |
libff::G1<ppT> libsnark::r1cs_se_ppzksnark_proof< ppT >::A |
Definition at line 340 of file r1cs_se_ppzksnark.hpp.
libff::G2<ppT> libsnark::r1cs_se_ppzksnark_proof< ppT >::B |
Definition at line 341 of file r1cs_se_ppzksnark.hpp.
libff::G1<ppT> libsnark::r1cs_se_ppzksnark_proof< ppT >::C |
Definition at line 342 of file r1cs_se_ppzksnark.hpp.