Clearmatics Libff  0.1
C++ library for Finite Fields and Elliptic Curves
multiexp_stream.hpp
Go to the documentation of this file.
1 
9 #ifndef MULTIEXP_STREAM_HPP_
10 #define MULTIEXP_STREAM_HPP_
11 
13 
14 #include <cstddef>
15 #include <vector>
16 
17 namespace libff
18 {
19 
25 template<form_t Form, compression_t Comp, typename GroupT, typename FieldT>
26 GroupT multi_exp_stream(
27  std::istream &base_elements_in, const std::vector<FieldT> &exponents);
28 
38 template<form_t Form, compression_t Comp, typename GroupT, typename FieldT>
40  std::istream &precomputed_elements_in,
41  const std::vector<FieldT> &exponents,
42  const size_t precompute_c);
43 
44 } // namespace libff
45 
47 
48 #endif // MULTIEXP_STREAM_HPP_
libff
Definition: ffi.cpp:8
libff::multi_exp_stream_with_precompute
GroupT multi_exp_stream_with_precompute(std::istream &precomputed_elements_in, const std::vector< FieldT > &exponents, const size_t precompute_c)
multiexp_stream.tcc
libff::multi_exp_stream
GroupT multi_exp_stream(std::istream &base_elements_in, const std::vector< FieldT > &exponents)
serialization.hpp