Wire Sysio Wire Sysion 1.0.0
|
#include <fp4.hpp>
Public Types | |
typedef Fp_model< n, modulus > | my_Fp |
typedef Fp2_model< n, modulus > | my_Fp2 |
typedef my_Fp2 | my_Fpe |
Public Member Functions | |
Fp4_model () | |
Fp4_model (const my_Fp2 &c0, const my_Fp2 &c1) | |
void | print () const |
void | clear () |
bool | is_zero () const |
bool | operator== (const Fp4_model &other) const |
bool | operator!= (const Fp4_model &other) const |
Fp4_model | operator+ (const Fp4_model &other) const |
Fp4_model | operator- (const Fp4_model &other) const |
Fp4_model | operator* (const Fp4_model &other) const |
Fp4_model | mul_by_023 (const Fp4_model &other) const |
Fp4_model | operator- () const |
Fp4_model | squared () const |
Fp4_model | inverse () const |
Fp4_model | Frobenius_map (unsigned long power) const |
Fp4_model | unitary_inverse () const |
Fp4_model | cyclotomic_squared () const |
template<mp_size_t m> | |
Fp4_model | cyclotomic_exp (const bigint< m > &exponent) const |
Static Public Member Functions | |
static Fp4_model< n, modulus > | zero () |
static Fp4_model< n, modulus > | one () |
static Fp4_model< n, modulus > | random_element () |
static my_Fp2 | mul_by_non_residue (const my_Fp2 &elt) |
static bigint< n > | base_field_char () |
static constexpr size_t | extension_degree () |
Public Attributes | |
my_Fp2 | c0 |
my_Fp2 | c1 |
Static Public Attributes | |
static my_Fp | non_residue |
static my_Fp | Frobenius_coeffs_c1 [4] |
Friends | |
std::ostream & | operator (std::ostream &out, const Fp4_model< n, modulus > &el) |
std::istream & | operator>> (std::istream &in, Fp4_model< n, modulus > &el) |
Fp_model<n, modulus> libff::Fp4_model< n, modulus >::my_Fp |
Fp2_model<n, modulus> libff::Fp4_model< n, modulus >::my_Fp2 |
my_Fp2 libff::Fp4_model< n, modulus >::my_Fpe |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
Fp4_model libff::Fp4_model< n, modulus >::cyclotomic_exp | ( | const bigint< m > & | exponent | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::cyclotomic_squared | ( | ) | const |
|
inlinestaticconstexpr |
Fp4_model libff::Fp4_model< n, modulus >::Frobenius_map | ( | unsigned long | power | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::inverse | ( | ) | const |
|
inline |
Fp4_model libff::Fp4_model< n, modulus >::mul_by_023 | ( | const Fp4_model< n, modulus > & | other | ) | const |
|
static |
|
static |
bool libff::Fp4_model< n, modulus >::operator!= | ( | const Fp4_model< n, modulus > & | other | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::operator* | ( | const Fp4_model< n, modulus > & | other | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::operator+ | ( | const Fp4_model< n, modulus > & | other | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::operator- | ( | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::operator- | ( | const Fp4_model< n, modulus > & | other | ) | const |
bool libff::Fp4_model< n, modulus >::operator== | ( | const Fp4_model< n, modulus > & | other | ) | const |
|
inline |
Definition at line 47 of file fp4.hpp.
|
static |
Fp4_model libff::Fp4_model< n, modulus >::squared | ( | ) | const |
Fp4_model libff::Fp4_model< n, modulus >::unitary_inverse | ( | ) | const |
|
static |
|
friend |
|
friend |
my_Fp2 libff::Fp4_model< n, modulus >::c0 |
my_Fp2 libff::Fp4_model< n, modulus >::c1 |
|
static |
|
static |