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

Public Member Functions

void print () const
 
void test_invariant () const
 

Public Attributes

edwards_Fq X
 
edwards_Fq Y
 
edwards_Fq Z
 
edwards_Fq T
 

Detailed Description

Definition at line 249 of file edwards_pairing.cpp.

Member Function Documentation

◆ print()

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

Definition at line 255 of file edwards_pairing.cpp.

256  {
257  printf("extended edwards_G1 projective X/Y/Z/T:\n");
258  X.print();
259  Y.print();
260  Z.print();
261  T.print();
262  }
Here is the call graph for this function:

◆ test_invariant()

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

Definition at line 264 of file edwards_pairing.cpp.

264 { assert(T * Z == X * Y); }
Here is the caller graph for this function:

Member Data Documentation

◆ T

edwards_Fq libff::extended_edwards_G1_projective::T

Definition at line 253 of file edwards_pairing.cpp.

◆ X

edwards_Fq libff::extended_edwards_G1_projective::X

Definition at line 250 of file edwards_pairing.cpp.

◆ Y

edwards_Fq libff::extended_edwards_G1_projective::Y

Definition at line 251 of file edwards_pairing.cpp.

◆ Z

edwards_Fq libff::extended_edwards_G1_projective::Z

Definition at line 252 of file edwards_pairing.cpp.


The documentation for this struct was generated from the following file:
libff::Fp_model::print
void print() const
libff::extended_edwards_G1_projective::Y
edwards_Fq Y
Definition: edwards_pairing.cpp:251
libff::extended_edwards_G1_projective::T
edwards_Fq T
Definition: edwards_pairing.cpp:253
libff::extended_edwards_G1_projective::X
edwards_Fq X
Definition: edwards_pairing.cpp:250
libff::extended_edwards_G1_projective::Z
edwards_Fq Z
Definition: edwards_pairing.cpp:252