21std::ostream&
operator<<(std::ostream &,
const bn128_G2&);
22std::istream&
operator>>(std::istream &, bn128_G2&);
28#ifdef PROFILE_OP_COUNTS
29 static long long add_cnt;
30 static long long dbl_cnt;
89template<mp_
size_t m, const big
int<m>& modulus_p>
static bigint< n > field_char()
static size_t size_in_bits()
bigint< n > as_bigint() const
static bigint< base_field::num_limbs > base_field_char()
bn128_G2 mixed_add(const bn128_G2 &other) const
static bn128_G2 random_element()
bool is_well_formed() const
static void batch_to_special_all_non_zeros(std::vector< bn128_G2 > &vec)
static std::vector< size_t > fixed_base_exp_window_table
void print_coordinates() const
bn128_G2(bn::Fp2 coord[3])
bool operator==(const bn128_G2 &other) const
bn128_G2 operator-() const
bn128_G2 operator+(const bn128_G2 &other) const
bool operator!=(const bn128_G2 &other) const
static std::vector< size_t > wnaf_window_table
static size_t size_in_bits()
friend std::istream & operator>>(std::istream &in, bn128_G2 &g)
void to_affine_coordinates()
friend std::ostream & operator<<(std::ostream &out, const bn128_G2 &g)
bn128_G2 add(const bn128_G2 &other) const
void fill_coord(bn::Fp2 coord[3]) const
static bigint< scalar_field::num_limbs > order()
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)