Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
r1cs_to_qap.hpp
Go to the documentation of this file.
1 
33 #ifndef R1CS_TO_QAP_HPP_
34 #define R1CS_TO_QAP_HPP_
35 
38 
39 namespace libsnark
40 {
41 
45 template<typename FieldT>
46 qap_instance<FieldT> r1cs_to_qap_instance_map(
47  const r1cs_constraint_system<FieldT> &cs, bool force_pow_2_domain = false);
48 
53 template<typename FieldT>
54 qap_instance_evaluation<FieldT> r1cs_to_qap_instance_map_with_evaluation(
55  const r1cs_constraint_system<FieldT> &cs,
56  const FieldT &t,
57  bool force_pow_2_domain = false);
58 
64 template<typename FieldT>
65 qap_witness<FieldT> r1cs_to_qap_witness_map(
66  const r1cs_constraint_system<FieldT> &cs,
67  const r1cs_primary_input<FieldT> &primary_input,
68  const r1cs_auxiliary_input<FieldT> &auxiliary_input,
69  const FieldT &d1,
70  const FieldT &d2,
71  const FieldT &d3,
72  bool force_pow_2_domain = false);
73 
74 } // namespace libsnark
75 
77 
78 #endif // R1CS_TO_QAP_HPP_
qap.hpp
libsnark
Definition: accumulation_vector.hpp:18
r1cs_to_qap.tcc
libsnark::r1cs_to_qap_witness_map
qap_witness< FieldT > r1cs_to_qap_witness_map(const r1cs_constraint_system< FieldT > &cs, const r1cs_primary_input< FieldT > &primary_input, const r1cs_auxiliary_input< FieldT > &auxiliary_input, const FieldT &d1, const FieldT &d2, const FieldT &d3, bool force_pow_2_domain=false)
libsnark::r1cs_to_qap_instance_map
qap_instance< FieldT > r1cs_to_qap_instance_map(const r1cs_constraint_system< FieldT > &cs, bool force_pow_2_domain=false)
libsnark::r1cs_to_qap_instance_map_with_evaluation
qap_instance_evaluation< FieldT > r1cs_to_qap_instance_map_with_evaluation(const r1cs_constraint_system< FieldT > &cs, const FieldT &t, bool force_pow_2_domain=false)
r1cs.hpp