Clearmatics Libff  0.1
C++ library for Finite Fields and Elliptic Curves
Public Member Functions | Public Attributes | List of all members
libff::extended_mnt4_G2_projective Struct Reference
Collaboration diagram for libff::extended_mnt4_G2_projective:
Collaboration graph
[legend]

Public Member Functions

void print () const
 
void test_invariant () const
 

Public Attributes

mnt4_Fq2 X
 
mnt4_Fq2 Y
 
mnt4_Fq2 Z
 
mnt4_Fq2 T
 

Detailed Description

Definition at line 382 of file mnt4_pairing.cpp.

Member Function Documentation

◆ print()

void libff::extended_mnt4_G2_projective::print ( ) const
inline

Definition at line 388 of file mnt4_pairing.cpp.

389  {
390  printf("extended mnt4_G2 projective X/Y/Z/T:\n");
391  X.print();
392  Y.print();
393  Z.print();
394  T.print();
395  }
Here is the call graph for this function:

◆ test_invariant()

void libff::extended_mnt4_G2_projective::test_invariant ( ) const
inline

Definition at line 397 of file mnt4_pairing.cpp.

397 { assert(T == Z.squared()); }
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ T

mnt4_Fq2 libff::extended_mnt4_G2_projective::T

Definition at line 386 of file mnt4_pairing.cpp.

◆ X

mnt4_Fq2 libff::extended_mnt4_G2_projective::X

Definition at line 383 of file mnt4_pairing.cpp.

◆ Y

mnt4_Fq2 libff::extended_mnt4_G2_projective::Y

Definition at line 384 of file mnt4_pairing.cpp.

◆ Z

mnt4_Fq2 libff::extended_mnt4_G2_projective::Z

Definition at line 385 of file mnt4_pairing.cpp.


The documentation for this struct was generated from the following file:
libff::extended_mnt4_G2_projective::Z
mnt4_Fq2 Z
Definition: mnt4_pairing.cpp:385
libff::extended_mnt4_G2_projective::X
mnt4_Fq2 X
Definition: mnt4_pairing.cpp:383
libff::extended_mnt4_G2_projective::T
mnt4_Fq2 T
Definition: mnt4_pairing.cpp:386
libff::Fp2_model::squared
Fp2_model squared() const
default is squared_complex
libff::Fp2_model::print
void print() const
Definition: fp2.hpp:78
libff::extended_mnt4_G2_projective::Y
mnt4_Fq2 Y
Definition: mnt4_pairing.cpp:384