Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <pb_variable.hpp>
Public Member Functions | |
pb_variable_array () | |
pb_variable_array (size_t count, const pb_variable< FieldT > &value) | |
pb_variable_array (typename contents::const_iterator first, typename contents::const_iterator last) | |
pb_variable_array (typename contents::const_reverse_iterator first, typename contents::const_reverse_iterator last) | |
void | allocate (protoboard< FieldT > &pb, const size_t n, const std::string &annotation_prefix) |
void | fill_with_field_elements (protoboard< FieldT > &pb, const std::vector< FieldT > &vals) const |
void | fill_with_bits (protoboard< FieldT > &pb, const libff::bit_vector &bits) const |
void | fill_with_bits_of_ulong (protoboard< FieldT > &pb, const unsigned long i) const |
void | fill_with_bits_of_field_element (protoboard< FieldT > &pb, const FieldT &r) const |
std::vector< FieldT > | get_vals (const protoboard< FieldT > &pb) const |
libff::bit_vector | get_bits (const protoboard< FieldT > &pb) const |
FieldT | get_field_element_from_bits (const protoboard< FieldT > &pb) const |
Definition at line 44 of file pb_variable.hpp.
|
inline |
Definition at line 66 of file pb_variable.hpp.
|
inline |
Definition at line 67 of file pb_variable.hpp.
|
inline |
Definition at line 69 of file pb_variable.hpp.
|
inline |
Definition at line 73 of file pb_variable.hpp.
void libsnark::pb_variable_array< FieldT >::allocate | ( | protoboard< FieldT > & | pb, |
const size_t | n, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::pb_variable_array< FieldT >::fill_with_bits | ( | protoboard< FieldT > & | pb, |
const libff::bit_vector & | bits | ||
) | const |
void libsnark::pb_variable_array< FieldT >::fill_with_bits_of_field_element | ( | protoboard< FieldT > & | pb, |
const FieldT & | r | ||
) | const |
void libsnark::pb_variable_array< FieldT >::fill_with_bits_of_ulong | ( | protoboard< FieldT > & | pb, |
const unsigned long | i | ||
) | const |
void libsnark::pb_variable_array< FieldT >::fill_with_field_elements | ( | protoboard< FieldT > & | pb, |
const std::vector< FieldT > & | vals | ||
) | const |
libff::bit_vector libsnark::pb_variable_array< FieldT >::get_bits | ( | const protoboard< FieldT > & | pb | ) | const |
FieldT libsnark::pb_variable_array< FieldT >::get_field_element_from_bits | ( | const protoboard< FieldT > & | pb | ) | const |
std::vector<FieldT> libsnark::pb_variable_array< FieldT >::get_vals | ( | const protoboard< FieldT > & | pb | ) | const |