18template<mp_
size_t n, const big
int<n>& modulus>
21template<mp_
size_t n, const big
int<n>& modulus>
24template<mp_
size_t n, const big
int<n>& modulus>
35template<mp_
size_t n, const big
int<n>& modulus>
85template<mp_
size_t n, const big
int<n>& modulus>
88template<mp_
size_t n, const big
int<n>& modulus>
91template<mp_
size_t n, const big
int<n>& modulus>
94template<mp_
size_t n, const big
int<n>& modulus>
97template<mp_
size_t n, const big
int<n>& modulus>
100template<mp_
size_t n, const big
int<n>& modulus>
103template<mp_
size_t n, const big
int<n>& modulus>
106template<mp_
size_t n, const big
int<n>& modulus>
109template<mp_
size_t n, const big
int<n>& modulus>
112template<mp_
size_t n, const big
int<n>& modulus>
115template<mp_
size_t n, const big
int<n>& modulus>
119#include <libff/algebra/fields/fp2.tcc>
static bigint< 2 *n > t_minus_1_over_2
static Fp2_model< n, modulus > zero()
static Fp2_model< n, modulus > random_element()
static Fp2_model< n, modulus > nqr_to_t
Fp2_model operator-(const Fp2_model &other) const
Fp2_model squared_karatsuba() const
Fp2_model operator*(const Fp2_model &other) const
bool operator==(const Fp2_model &other) const
Fp2_model inverse() const
static Fp2_model< n, modulus > one()
static my_Fp Frobenius_coeffs_c1[2]
Fp2_model squared_complex() const
Fp2_model operator-() const
Fp2_model operator+(const Fp2_model &other) const
static Fp2_model< n, modulus > nqr
Fp2_model squared() const
static bigint< n > base_field_char()
Fp2_model(const my_Fp &c0, const my_Fp &c1)
Fp2_model Frobenius_map(unsigned long power) const
Fp_model< n, modulus > my_Fp
friend std::ostream & operator(std::ostream &out, const Fp2_model< n, modulus > &el)
bool operator!=(const Fp2_model &other) const
Fp2_model operator^(const bigint< m > &other) const
static bigint< 2 *n > euler
static size_t size_in_bits()
static size_t size_in_bits()
std::istream & operator>>(std::istream &in, alt_bn128_G1 &g)
std::ostream & operator<<(std::ostream &out, const alt_bn128_G1 &g)
alt_bn128_G1 operator*(const bigint< m > &lhs, const alt_bn128_G1 &rhs)
FieldT power(const FieldT &base, const bigint< m > &exponent)