detail/element/fp2.hpp
Go to the documentation of this file.
Definition: detail/element/fp2.hpp:39
std::array< underlying_type, 2 > data_type
Definition: detail/element/fp2.hpp:54
element_fp2 mul_xi()
Definition: detail/element/fp2.hpp:160
constexpr element_fp2 pow(const PowerType &pwr) const
Definition: detail/element/fp2.hpp:263
policy_type::underlying_type underlying_type
Definition: detail/element/fp2.hpp:52
constexpr element_fp2 doubled() const
Definition: detail/element/fp2.hpp:203
constexpr element_fp2(const data_type &in_data)
Definition: detail/element/fp2.hpp:67
constexpr element_fp2 operator*(const element_fp2 &B) const
Definition: detail/element/fp2.hpp:134
constexpr element_fp2 operator-() const
Definition: detail/element/fp2.hpp:130
constexpr bool is_one() const
Definition: detail/element/fp2.hpp:89
constexpr static element_fp2 zero()
Definition: detail/element/fp2.hpp:77
constexpr element_fp2 sqrt() const
Definition: detail/element/fp2.hpp:207
constexpr element_fp2 & operator-=(const element_fp2 &B)
Definition: detail/element/fp2.hpp:116
policy_type::non_residue_type non_residue_type
Definition: detail/element/fp2.hpp:49
data_type data
Definition: detail/element/fp2.hpp:56
constexpr static element_fp2 one()
Definition: detail/element/fp2.hpp:81
constexpr element_fp2(const underlying_type &in_data0, const underlying_type &in_data1)
Definition: detail/element/fp2.hpp:71
constexpr bool is_square() const
Definition: detail/element/fp2.hpp:257
constexpr element_fp2()
Definition: detail/element/fp2.hpp:58
constexpr element_fp2 & operator*=(const element_fp2 &B)
Definition: detail/element/fp2.hpp:143
constexpr element_fp2 divBy4() const
Definition: detail/element/fp2.hpp:199
constexpr bool operator!=(const element_fp2 &B) const
Definition: detail/element/fp2.hpp:97
constexpr element_fp2 operator+(const element_fp2 &B) const
Definition: detail/element/fp2.hpp:108
constexpr element_fp2 divBy2() const
Definition: detail/element/fp2.hpp:195
constexpr element_fp2 squared() const
Definition: detail/element/fp2.hpp:245
constexpr element_fp2 operator-(const element_fp2 &B) const
Definition: detail/element/fp2.hpp:112
constexpr element_fp2 mul_Fp_0(const underlying_type &b)
Definition: detail/element/fp2.hpp:176
constexpr bool is_zero() const
Definition: detail/element/fp2.hpp:85
constexpr element_fp2(const element_fp2 &B)
Definition: detail/element/fp2.hpp:75
constexpr element_fp2 Frobenius_map(const PowerType &pwr) const
Definition: detail/element/fp2.hpp:285
constexpr element_fp2 & operator+=(const element_fp2 &B)
Definition: detail/element/fp2.hpp:123
constexpr bool operator==(const element_fp2 &B) const
Definition: detail/element/fp2.hpp:93
constexpr element_fp2(const Number1 &in_data0, const Number2 &in_data1)
Definition: detail/element/fp2.hpp:63
constexpr element_fp2 operator/(const element_fp2 &B) const
Definition: detail/element/fp2.hpp:149
constexpr element_fp2 _2z_add_3x()
Definition: detail/element/fp2.hpp:191
constexpr element_fp2 mul_Fp_1(const underlying_type &y_b)
Definition: detail/element/fp2.hpp:187
constexpr element_fp2 & operator=(const element_fp2 &B)
Definition: detail/element/fp2.hpp:101
policy_type::field_type field_type
Definition: detail/element/fp2.hpp:47
constexpr static const non_residue_type non_residue
Definition: detail/element/fp2.hpp:50
constexpr element_fp2 inversed() const
Definition: detail/element/fp2.hpp:267
constexpr element_fp2 mul_x()
Definition: detail/element/fp2.hpp:171
constexpr element_fp2< FieldParams > addNC(const element_fp2< FieldParams > &A, const element_fp2< FieldParams > &B)
Definition: detail/element/fp2.hpp:307
constexpr FieldValueType power(const FieldValueType &base, const NumberType &exponent)
Definition: algebra/include/nil/crypto3/algebra/fields/detail/exponentiation.hpp:41
constexpr element_fp2< FieldParams > subNC(const element_fp2< FieldParams > &A, const element_fp2< FieldParams > &B)
Definition: detail/element/fp2.hpp:312
element_fp12_2over3over2< FieldParams > operator*(const typename FieldParams::underlying_type::underlying_type::underlying_type &lhs, const element_fp12_2over3over2< FieldParams > &rhs)
Definition: detail/element/fp12_2over3over2.hpp:364
Definition: pair.hpp:31