|
Wire Sysio Wire Sysion 1.0.0
|
#include <fp6_3over2.hpp>

Public Types | |
| typedef Fp_model< n, modulus > | my_Fp |
| typedef Fp2_model< n, modulus > | my_Fp2 |
Public Member Functions | |
| Fp6_3over2_model () | |
| Fp6_3over2_model (const my_Fp2 &c0, const my_Fp2 &c1, const my_Fp2 &c2) | |
| void | clear () |
| void | print () const |
| bool | is_zero () const |
| bool | operator== (const Fp6_3over2_model &other) const |
| bool | operator!= (const Fp6_3over2_model &other) const |
| Fp6_3over2_model | operator+ (const Fp6_3over2_model &other) const |
| Fp6_3over2_model | operator- (const Fp6_3over2_model &other) const |
| Fp6_3over2_model | operator* (const Fp6_3over2_model &other) const |
| Fp6_3over2_model | operator- () const |
| Fp6_3over2_model | squared () const |
| Fp6_3over2_model | inverse () const |
| Fp6_3over2_model | Frobenius_map (unsigned long power) const |
| template<mp_size_t m> | |
| Fp6_3over2_model | operator^ (const bigint< m > &other) const |
Static Public Member Functions | |
| static Fp6_3over2_model< n, modulus > | zero () |
| static Fp6_3over2_model< n, modulus > | one () |
| static Fp6_3over2_model< n, modulus > | random_element () |
| static my_Fp2 | mul_by_non_residue (const my_Fp2 &elt) |
| static bigint< n > | base_field_char () |
| static size_t | extension_degree () |
Public Attributes | |
| my_Fp2 | c0 |
| my_Fp2 | c1 |
| my_Fp2 | c2 |
Static Public Attributes | |
| static my_Fp2 | non_residue |
| static my_Fp2 | Frobenius_coeffs_c1 [6] |
| static my_Fp2 | Frobenius_coeffs_c2 [6] |
Friends | |
| std::ostream & | operator (std::ostream &out, const Fp6_3over2_model< n, modulus > &el) |
| std::istream & | operator>> (std::istream &in, Fp6_3over2_model< n, modulus > &el) |
Arithmetic in the finite field F[(p^2)^3].
Let p := modulus. This interface provides arithmetic for the extension field Fp6 = Fp2[V]/(V^3-non_residue) where non_residue is in Fp.
ASSUMPTION: p = 1 (mod 6)
Definition at line 37 of file fp6_3over2.hpp.
| Fp_model<n, modulus> libff::Fp6_3over2_model< n, modulus >::my_Fp |
Definition at line 39 of file fp6_3over2.hpp.
| Fp2_model<n, modulus> libff::Fp6_3over2_model< n, modulus >::my_Fp2 |
Definition at line 40 of file fp6_3over2.hpp.
|
inline |
Definition at line 47 of file fp6_3over2.hpp.
|
inline |
Definition at line 48 of file fp6_3over2.hpp.
|
inlinestatic |
Definition at line 74 of file fp6_3over2.hpp.
|
inline |
Definition at line 50 of file fp6_3over2.hpp.


|
inlinestatic |
Definition at line 75 of file fp6_3over2.hpp.
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::Frobenius_map | ( | unsigned long | power | ) | const |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::inverse | ( | ) | const |
|
inline |
Definition at line 57 of file fp6_3over2.hpp.


|
static |
|
static |
| bool libff::Fp6_3over2_model< n, modulus >::operator!= | ( | const Fp6_3over2_model< n, modulus > & | other | ) | const |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::operator* | ( | const Fp6_3over2_model< n, modulus > & | other | ) | const |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::operator+ | ( | const Fp6_3over2_model< n, modulus > & | other | ) | const |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::operator- | ( | ) | const |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::operator- | ( | const Fp6_3over2_model< n, modulus > & | other | ) | const |
| bool libff::Fp6_3over2_model< n, modulus >::operator== | ( | const Fp6_3over2_model< n, modulus > & | other | ) | const |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::operator^ | ( | const bigint< m > & | other | ) | const |
|
inline |
Definition at line 51 of file fp6_3over2.hpp.


|
static |
| Fp6_3over2_model libff::Fp6_3over2_model< n, modulus >::squared | ( | ) | const |
|
static |
|
friend |
|
friend |
| my_Fp2 libff::Fp6_3over2_model< n, modulus >::c0 |
Definition at line 46 of file fp6_3over2.hpp.
| my_Fp2 libff::Fp6_3over2_model< n, modulus >::c1 |
Definition at line 46 of file fp6_3over2.hpp.
| my_Fp2 libff::Fp6_3over2_model< n, modulus >::c2 |
Definition at line 46 of file fp6_3over2.hpp.
|
static |
Definition at line 43 of file fp6_3over2.hpp.
|
static |
Definition at line 44 of file fp6_3over2.hpp.
|
static |
Definition at line 42 of file fp6_3over2.hpp.