|
| static keypair | generate_setup (const libsnark::protoboard< libff::Fr< ppT >> &pb) |
| | Run the trusted setup and return the keypair for the circuit. More...
|
| |
| static proof | generate_proof (const proving_key &proving_key, const libsnark::protoboard< libff::Fr< ppT >> &pb) |
| | Generate the proof (from the values set to the protoboard) More...
|
| |
| static proof | generate_proof (const proving_key &proving_key, const libsnark::r1cs_primary_input< libff::Fr< ppT >> &primary_input, const libsnark::r1cs_auxiliary_input< libff::Fr< ppT >> auxiliary_input) |
| | Generate the proof (from given primary and auxiliary values) More...
|
| |
| static bool | verify (const libsnark::r1cs_primary_input< libff::Fr< ppT >> &primary_inputs, const proof &proof, const verification_key &verification_key) |
| | Verify proof. More...
|
| |
| static void | verification_key_write_json (const verification_key &, std::ostream &) |
| | Write verification as json. More...
|
| |
| static void | verification_key_write_bytes (const verification_key &, std::ostream &) |
| | Write verification key as bytes. More...
|
| |
| static void | verification_key_read_bytes (verification_key &, std::istream &) |
| | Read a verification key as bytes. More...
|
| |
| static void | proving_key_write_bytes (const proving_key &, std::ostream &) |
| | Write proving key as bytes. More...
|
| |
| static void | proving_key_read_bytes (proving_key &, std::istream &) |
| | Read proving key as bytes. More...
|
| |
| static void | proof_write_json (const proof &, std::ostream &) |
| | Write proof as json. More...
|
| |
| static void | proof_write_bytes (const proof &, std::ostream &) |
| | Write proof as bytes. More...
|
| |
| static void | proof_read_bytes (proof &, std::istream &) |
| | Read proof as bytes. More...
|
| |
| static void | keypair_write_bytes (const keypair &, std::ostream &) |
| | Write a keypair as bytes. More...
|
| |
| static void | keypair_read_bytes (keypair &, std::istream &) |
| | Read a keypair from a stream. More...
|
| |
template<typename ppT>
class libzeth::pghr13_snark< ppT >
Definition at line 15 of file pghr13_snark.hpp.