Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
ec_pp.hpp
Go to the documentation of this file.
1
13#ifndef EC_PP_HPP_
14#define EC_PP_HPP_
15
16/************************ Pick the elliptic curve ****************************/
17
18#ifdef CURVE_ALT_BN128
19#define LIBFF_DEFAULT_EC_PP_DEFINED
21namespace libff {
22typedef alt_bn128_pp default_ec_pp;
23} // libff
24#endif
25
26#ifdef CURVE_BN128
27#define LIBFF_DEFAULT_EC_PP_DEFINED
29namespace libff {
30typedef bn128_pp default_ec_pp;
31} // libff
32#endif
33
34#ifdef CURVE_EDWARDS
35#define LIBFF_DEFAULT_EC_PP_DEFINED
37namespace libff {
38typedef edwards_pp default_ec_pp;
39} // libff
40#endif
41
42#ifdef CURVE_MNT4
43#define LIBFF_DEFAULT_EC_PP_DEFINED
45namespace libff {
46typedef mnt4_pp default_ec_pp;
47} // libff
48#endif
49
50#ifdef CURVE_MNT6
51#define LIBFF_DEFAULT_EC_PP_DEFINED
53namespace libff {
54typedef mnt6_pp default_ec_pp;
55} // libff
56#endif
57
58#ifndef LIBFF_DEFAULT_EC_PP_DEFINED
59#error You must define one of the CURVE_* symbols to pick a curve for pairings.
60#endif
61
62#endif // EC_PP_HPP_