Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
ram_examples.hpp
Go to the documentation of this file.
1 
13 #ifndef RAM_EXAMPLES_HPP_
14 #define RAM_EXAMPLES_HPP_
15 
17 
18 namespace libsnark
19 {
20 
21 template<typename ramT> struct ram_example {
24  size_t time_bound;
27 };
28 
32 template<typename ramT>
35  const size_t boot_trace_size_bound,
36  const size_t time_bound,
37  const bool satisfiable = true);
38 
42 template<typename ramT>
45  const size_t boot_trace_size_bound,
46  const size_t time_bound,
47  const bool satisfiable = true);
48 
49 } // namespace libsnark
50 
52 
53 #endif // RAM_EXAMPLES_HPP_
libsnark::ram_input_tape
std::vector< size_t > ram_input_tape
Definition: ram_params.hpp:55
libsnark::ram_architecture_params
typename ramT::architecture_params_type ram_architecture_params
Definition: ram_params.hpp:53
libsnark::ram_example::auxiliary_input
ram_input_tape< ramT > auxiliary_input
Definition: ram_examples.hpp:26
ram_examples.tcc
libsnark::gen_ram_example_simple
ram_example< ramT > gen_ram_example_simple(const ram_architecture_params< ramT > &ap, const size_t boot_trace_size_bound, const size_t time_bound, const bool satisfiable=true)
libsnark
Definition: accumulation_vector.hpp:18
libsnark::ram_example::time_bound
size_t time_bound
Definition: ram_examples.hpp:24
libsnark::gen_ram_example_complex
ram_example< ramT > gen_ram_example_complex(const ram_architecture_params< ramT > &ap, const size_t boot_trace_size_bound, const size_t time_bound, const bool satisfiable=true)
libsnark::ram_example::boot_trace
ram_boot_trace< ramT > boot_trace
Definition: ram_examples.hpp:25
libsnark::ram_example
Definition: ram_examples.hpp:21
libsnark::memory_store_trace
Definition: memory_store_trace.hpp:29
libsnark::ram_example::boot_trace_size_bound
size_t boot_trace_size_bound
Definition: ram_examples.hpp:23
libsnark::ram_example::ap
ram_architecture_params< ramT > ap
Definition: ram_examples.hpp:22
ram_params.hpp