Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
libsnark
gadgetlib1
gadgets
hashes
crh_gadget.hpp
Go to the documentation of this file.
1
7
#ifndef CRH_GADGET_HPP_
8
#define CRH_GADGET_HPP_
9
10
#include <
libsnark/gadgetlib1/gadgets/hashes/knapsack/knapsack_gadget.hpp
>
11
12
namespace
libsnark
13
{
14
15
// for now all CRH gadgets are knapsack CRH's; can be easily extended
16
// later to more expressive selector types.
17
template
<
typename
FieldT>
18
using
CRH_with_field_out_gadget
=
knapsack_CRH_with_field_out_gadget<FieldT>
;
19
20
template
<
typename
FieldT>
21
using
CRH_with_bit_out_gadget
=
knapsack_CRH_with_bit_out_gadget<FieldT>
;
22
23
}
// namespace libsnark
24
25
#endif // CRH_GADGET_HPP_
libsnark::knapsack_CRH_with_bit_out_gadget
Definition:
knapsack_gadget.hpp:100
libsnark
Definition:
accumulation_vector.hpp:18
knapsack_gadget.hpp
libsnark::knapsack_CRH_with_field_out_gadget
Definition:
knapsack_gadget.hpp:65
Generated on Wed Jan 25 2023 11:05:58 for Clearmatics Libsnark by
1.8.17