algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp
Go to the documentation of this file.
355 constexpr typename element_edwards_g2<183>::g1_field_type_value const element_edwards_g2<183>::a;
356 constexpr typename element_edwards_g2<183>::g1_field_type_value const element_edwards_g2<183>::d;
constexpr bool operator==(const matrix< T, N, M > &a, const matrix< T, N, M > &b)
checks equality of two matrices
Definition: matrix/operators.hpp:48
Definition: pair.hpp:31
A struct representing details about base and scalar fields of the size 183 bits and 181 bits respecti...
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/basic_policy.hpp:55
A struct representing a group G2 of Edwards curve.
Definition: edwards/g2.hpp:47
underlying_field_value_type X
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:65
constexpr element_edwards_g2 doubled() const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:193
constexpr element_edwards_g2 operator-() const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:182
constexpr element_edwards_g2 to_projective() const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:317
constexpr element_edwards_g2 to_affine() const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:291
constexpr element_edwards_g2()
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:74
constexpr element_edwards_g2(underlying_field_value_type X, underlying_field_value_type Y)
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:92
constexpr element_edwards_g2 operator+(const element_edwards_g2 &other) const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:165
constexpr bool operator==(const element_edwards_g2 &other) const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:112
constexpr static underlying_field_value_type mul_by_d(const underlying_field_value_type &elt)
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:280
g2_field_type_value underlying_field_value_type
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:63
constexpr static element_edwards_g2 zero()
Get the point at infinity.
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:97
constexpr static element_edwards_g2 one()
Get the generator of group G2.
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:104
constexpr element_edwards_g2 operator=(const element_edwards_g2 &other)
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:156
constexpr element_edwards_g2 mixed_add(const element_edwards_g2 &other) const
“Mixed addition” refers to the case Z2 known to be 1.
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:221
constexpr element_edwards_g2 operator-(const element_edwards_g2 &other) const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:186
constexpr bool operator!=(const element_edwards_g2 &other) const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:136
underlying_field_value_type Z
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:67
policy_type::g1_field_type::value_type g1_field_type_value
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:60
policy_type::g2_field_type::value_type g2_field_type_value
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:61
constexpr element_edwards_g2(underlying_field_value_type in_X, underlying_field_value_type in_Y, underlying_field_value_type in_Z)
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:82
constexpr bool is_special() const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:150
constexpr static underlying_field_value_type mul_by_a(const underlying_field_value_type &elt)
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:274
constexpr bool is_zero() const
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:143
underlying_field_value_type Y
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:66
A struct representing an element from the group G2 of Edwards curve.
Definition: algebra/include/nil/crypto3/algebra/curves/detail/edwards/element_g2.hpp:50