Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <hash_io.hpp>
Public Member Functions | |
block_variable (protoboard< FieldT > &pb, const size_t block_size, const std::string &annotation_prefix) | |
block_variable (protoboard< FieldT > &pb, const std::vector< pb_variable_array< FieldT >> &parts, const std::string &annotation_prefix) | |
block_variable (protoboard< FieldT > &pb, const digest_variable< FieldT > &left, const digest_variable< FieldT > &right, const std::string &annotation_prefix) | |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness (const libff::bit_vector &contents) |
libff::bit_vector | get_block () const |
![]() | |
gadget (protoboard< FieldT > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
size_t | block_size |
pb_variable_array< FieldT > | bits |
Additional Inherited Members | |
![]() | |
protoboard< FieldT > & | pb |
const std::string | annotation_prefix |
Definition at line 39 of file hash_io.hpp.
libsnark::block_variable< FieldT >::block_variable | ( | protoboard< FieldT > & | pb, |
const size_t | block_size, | ||
const std::string & | annotation_prefix | ||
) |
libsnark::block_variable< FieldT >::block_variable | ( | protoboard< FieldT > & | pb, |
const std::vector< pb_variable_array< FieldT >> & | parts, | ||
const std::string & | annotation_prefix | ||
) |
libsnark::block_variable< FieldT >::block_variable | ( | protoboard< FieldT > & | pb, |
const digest_variable< FieldT > & | left, | ||
const digest_variable< FieldT > & | right, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::block_variable< FieldT >::generate_r1cs_constraints | ( | ) |
void libsnark::block_variable< FieldT >::generate_r1cs_witness | ( | const libff::bit_vector & | contents | ) |
libff::bit_vector libsnark::block_variable< FieldT >::get_block | ( | ) | const |
pb_variable_array<FieldT> libsnark::block_variable< FieldT >::bits |
Definition at line 43 of file hash_io.hpp.
size_t libsnark::block_variable< FieldT >::block_size |
Definition at line 42 of file hash_io.hpp.