Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <uscs_ppzksnark.hpp>
Public Member Functions | |
uscs_ppzksnark_proof () | |
uscs_ppzksnark_proof (libff::G1< ppT > &&V_g1, libff::G1< ppT > &&alpha_V_g1, libff::G1< ppT > &&H_g1, libff::G2< ppT > &&V_g2) | |
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 uscs_ppzksnark_proof< ppT > &other) const |
Public Attributes | |
libff::G1< ppT > | V_g1 |
libff::G1< ppT > | alpha_V_g1 |
libff::G1< ppT > | H_g1 |
libff::G2< ppT > | V_g2 |
Friends | |
std::ostream & | operator (std::ostream &out, const uscs_ppzksnark_proof< ppT > &proof) |
std::istream & | operator>> (std::istream &in, uscs_ppzksnark_proof< ppT > &proof) |
A proof for the USCS 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 272 of file uscs_ppzksnark.hpp.
|
inline |
Definition at line 296 of file uscs_ppzksnark.hpp.
|
inline |
Definition at line 304 of file uscs_ppzksnark.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 334 of file uscs_ppzksnark.hpp.
bool libsnark::uscs_ppzksnark_proof< ppT >::operator== | ( | const uscs_ppzksnark_proof< ppT > & | other | ) | const |
|
inline |
|
inline |
Definition at line 318 of file uscs_ppzksnark.hpp.
|
friend |
|
friend |
libff::G1<ppT> libsnark::uscs_ppzksnark_proof< ppT >::alpha_V_g1 |
Definition at line 292 of file uscs_ppzksnark.hpp.
libff::G1<ppT> libsnark::uscs_ppzksnark_proof< ppT >::H_g1 |
Definition at line 293 of file uscs_ppzksnark.hpp.
libff::G1<ppT> libsnark::uscs_ppzksnark_proof< ppT >::V_g1 |
Definition at line 291 of file uscs_ppzksnark.hpp.
libff::G2<ppT> libsnark::uscs_ppzksnark_proof< ppT >::V_g2 |
Definition at line 294 of file uscs_ppzksnark.hpp.