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
20
#include <
libff/algebra/curves/alt_bn128/alt_bn128_pp.hpp
>
21
namespace
libff
{
22
typedef
alt_bn128_pp default_ec_pp;
23
}
// libff
24
#endif
25
26
#ifdef CURVE_BN128
27
#define LIBFF_DEFAULT_EC_PP_DEFINED
28
#include <
libff/algebra/curves/bn128/bn128_pp.hpp
>
29
namespace
libff
{
30
typedef
bn128_pp default_ec_pp;
31
}
// libff
32
#endif
33
34
#ifdef CURVE_EDWARDS
35
#define LIBFF_DEFAULT_EC_PP_DEFINED
36
#include <
libff/algebra/curves/edwards/edwards_pp.hpp
>
37
namespace
libff
{
38
typedef
edwards_pp default_ec_pp;
39
}
// libff
40
#endif
41
42
#ifdef CURVE_MNT4
43
#define LIBFF_DEFAULT_EC_PP_DEFINED
44
#include <
libff/algebra/curves/mnt/mnt4/mnt4_pp.hpp
>
45
namespace
libff
{
46
typedef
mnt4_pp default_ec_pp;
47
}
// libff
48
#endif
49
50
#ifdef CURVE_MNT6
51
#define LIBFF_DEFAULT_EC_PP_DEFINED
52
#include <
libff/algebra/curves/mnt/mnt6/mnt6_pp.hpp
>
53
namespace
libff
{
54
typedef
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_
alt_bn128_pp.hpp
bn128_pp.hpp
edwards_pp.hpp
mnt4_pp.hpp
mnt6_pp.hpp
libff
Definition
alt_bn128_g1.cpp:10
libraries
fc
libraries
ff
libff
common
default_types
ec_pp.hpp
Generated by
1.12.0