23std::ostream&
operator<<(std::ostream &,
const mnt6_G2&);
24std::istream&
operator>>(std::istream &, mnt6_G2&);
28#ifdef PROFILE_OP_COUNTS
29 static long long add_cnt;
30 static long long dbl_cnt;
97template<mp_
size_t m, const big
int<m>& modulus_p>
static size_t size_in_bits()
static bigint< n > field_char()
bigint< n > as_bigint() const
static std::vector< size_t > wnaf_window_table
static bigint< scalar_field::num_limbs > order()
mnt6_G2(const mnt6_Fq3 &X, const mnt6_Fq3 &Y, const mnt6_Fq3 &Z)
mnt6_G2 operator+(const mnt6_G2 &other) const
static void batch_to_special_all_non_zeros(std::vector< mnt6_G2 > &vec)
mnt6_G2 operator-() const
mnt6_G2 add(const mnt6_G2 &other) const
friend std::ostream & operator<<(std::ostream &out, const mnt6_G2 &g)
bool is_well_formed() const
static mnt6_Fq3 mul_by_b(const mnt6_Fq3 &elt)
static mnt6_G2 random_element()
bool operator==(const mnt6_G2 &other) const
static size_t size_in_bits()
friend std::istream & operator>>(std::istream &in, mnt6_G2 &g)
mnt6_G2 mixed_add(const mnt6_G2 &other) const
static mnt6_Fq3 mul_by_a(const mnt6_Fq3 &elt)
bool operator!=(const mnt6_G2 &other) const
static bigint< base_field::num_limbs > base_field_char()
void to_affine_coordinates()
void print_coordinates() const
static std::vector< size_t > fixed_base_exp_window_table
std::istream & operator>>(std::istream &in, alt_bn128_G1 &g)
GroupT scalar_mul(const GroupT &base, const bigint< m > &scalar)
std::ostream & operator<<(std::ostream &out, const alt_bn128_G1 &g)
alt_bn128_G1 operator*(const bigint< m > &lhs, const alt_bn128_G1 &rhs)