Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Go to the documentation of this file.
8 #ifndef MERKLE_AUTHENTICATION_PATH_VARIABLE_HPP_
9 #define MERKLE_AUTHENTICATION_PATH_VARIABLE_HPP_
18 template<
typename FieldT,
typename HashT>
35 const size_t address)
const;
42 #endif // MERKLE_AUTHENTICATION_PATH_VARIABLE_HPP
const std::string annotation_prefix
protoboard< FieldT > & pb
std::vector< digest_variable< FieldT > > right_digests
std::vector< digest_variable< FieldT > > left_digests
void generate_r1cs_witness(const size_t address, const merkle_authentication_path &path)
merkle_authentication_path_variable(protoboard< FieldT > &pb, const size_t tree_depth, const std::string &annotation_prefix)
void generate_r1cs_constraints()
merkle_authentication_path get_authentication_path(const size_t address) const
std::vector< merkle_authentication_node > merkle_authentication_path