forked from akosba/libsnark
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlibsnark_serialization.hpp
31 lines (23 loc) · 977 Bytes
/
libsnark_serialization.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/** @file
*****************************************************************************
Temporary import serialization operators from libff in libsnark namespace;
*****************************************************************************
* @author This file is part of libsnark, developed by SCIPR Lab
* and contributors (see AUTHORS).
* @copyright MIT license (see LICENSE file)
*****************************************************************************/
#ifndef LIBSNARK_SERIALIZATION_HPP_
#define LIBSNARK_SERIALIZATION_HPP_
#include <libff/common/serialization.hpp>
namespace libsnark {
using libff::consume_newline;
using libff::consume_OUTPUT_NEWLINE;
using libff::consume_OUTPUT_SEPARATOR;
using libff::output_bool;
using libff::input_bool;
using libff::input_bool_vector;
using libff::output_bool_vector;
using libff::operator<<;
using libff::operator>>;
}
#endif // LIBSNARK_SERIALIZATION_HPP_