ppzkpcd_compliance_predicate.hpp
Go to the documentation of this file.
1 //---------------------------------------------------------------------------//
2 // Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation>
3 // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation>
4 //
5 // MIT License
6 //
7 // Permission is hereby granted, free of charge, to any person obtaining a copy
8 // of this software and associated documentation files (the "Software"), to deal
9 // in the Software without restriction, including without limitation the rights
10 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 // copies of the Software, and to permit persons to whom the Software is
12 // furnished to do so, subject to the following conditions:
13 //
14 // The above copyright notice and this permission notice shall be included in all
15 // copies or substantial portions of the Software.
16 //
17 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 // SOFTWARE.
24 //---------------------------------------------------------------------------//
25 // @file Template aliasing for prettifying R1CS PCD interfaces.
26 //---------------------------------------------------------------------------//
27 
28 #ifndef CRYPTO3_ZK_PPZKPCD_COMPLIANCE_PREDICATE_HPP
29 #define CRYPTO3_ZK_PPZKPCD_COMPLIANCE_PREDICATE_HPP
30 
31 #include <nil/crypto3/zk/snark/schemes/pcd/r1cs_pcd/compliance_predicate.hpp>
32 
33 namespace nil {
34  namespace crypto3 {
35  namespace zk {
36  namespace snark {
37 
38  /* template aliasing for R1CS (multi-predicate) ppzkPCD: */
39 
40  template<typename PCD_ppT>
43 
44  template<typename PCD_ppT>
46 
47  template<typename PCD_ppT>
49 
50  template<typename PCD_ppT>
53 
54  } // namespace snark
55  } // namespace zk
56  } // namespace crypto3
57 } // namespace nil
58 
59 #endif // PPZKPCD_COMPLIANCE_PREDICATE_HPP
Definition: compliance_predicate.hpp:123
r1cs_variable_assignment< algebra::Fr< typename PCD_ppT::curve_A_pp > > r1cs_mp_ppzkpcd_variable_assignment
Definition: ppzkpcd_compliance_predicate.hpp:52
std::vector< typename FieldType::value_type > r1cs_variable_assignment
Definition: r1cs.hpp:107
Definition: pair.hpp:31
Definition: compliance_predicate.hpp:77
Definition: compliance_predicate.hpp:56