19std::ostream&
operator<<(std::ostream &,
const edwards_G2&);
20std::istream&
operator>>(std::istream &, edwards_G2&);
24#ifdef PROFILE_OP_COUNTS
25 static long long add_cnt;
26 static long long dbl_cnt;
92template<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 edwards_G2 random_element()
bool is_well_formed() const
bool operator!=(const edwards_G2 &other) const
bool operator==(const edwards_G2 &other) const
static void batch_to_special_all_non_zeros(std::vector< edwards_G2 > &vec)
edwards_G2 add(const edwards_G2 &other) const
edwards_G2(const edwards_Fq3 &X, const edwards_Fq3 &Y)
friend std::ostream & operator<<(std::ostream &out, const edwards_G2 &g)
static size_t size_in_bits()
edwards_G2 operator-() const
friend std::istream & operator>>(std::istream &in, edwards_G2 &g)
static std::vector< size_t > fixed_base_exp_window_table
static bigint< scalar_field::num_limbs > order()
edwards_G2 mixed_add(const edwards_G2 &other) const
static edwards_Fq3 mul_by_a(const edwards_Fq3 &elt)
void to_affine_coordinates()
void print_coordinates() const
static edwards_Fq3 mul_by_d(const edwards_Fq3 &elt)
edwards_G2 operator+(const edwards_G2 &other) const
static std::vector< size_t > wnaf_window_table
static bigint< base_field::num_limbs > base_field_char()
static edwards_G2 G2_zero
edwards_G2 mul_by_q() const
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)