Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <cp_handler.hpp>
Public Member Functions | |
r1cs_pcd_message_variable (protoboard< FieldT > &pb, const std::string &annotation_prefix) | |
void | update_all_vars () |
void | generate_r1cs_witness (const std::shared_ptr< r1cs_pcd_message< FieldT >> &message) |
virtual std::shared_ptr< r1cs_pcd_message< FieldT > > | get_message () const =0 |
virtual | ~r1cs_pcd_message_variable ()=default |
![]() | |
gadget (protoboard< FieldT > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
pb_variable< FieldT > | type |
pb_variable_array< FieldT > | all_vars |
Protected Attributes | |
size_t | num_vars_at_construction |
![]() | |
protoboard< FieldT > & | pb |
const std::string | annotation_prefix |
A variable to represent an r1cs_pcd_message.
Definition at line 32 of file cp_handler.hpp.
libsnark::r1cs_pcd_message_variable< FieldT >::r1cs_pcd_message_variable | ( | protoboard< FieldT > & | pb, |
const std::string & | annotation_prefix | ||
) |
|
virtualdefault |
void libsnark::r1cs_pcd_message_variable< FieldT >::generate_r1cs_witness | ( | const std::shared_ptr< r1cs_pcd_message< FieldT >> & | message | ) |
|
pure virtual |
void libsnark::r1cs_pcd_message_variable< FieldT >::update_all_vars | ( | ) |
pb_variable_array<FieldT> libsnark::r1cs_pcd_message_variable< FieldT >::all_vars |
Definition at line 40 of file cp_handler.hpp.
|
protected |
Definition at line 35 of file cp_handler.hpp.
pb_variable<FieldT> libsnark::r1cs_pcd_message_variable< FieldT >::type |
Definition at line 38 of file cp_handler.hpp.