Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
libff::edwards_ate_G1_precomp Struct Reference

#include <edwards_pairing.hpp>

Collaboration diagram for libff::edwards_ate_G1_precomp:

Public Member Functions

bool operator== (const edwards_ate_G1_precomp &other) const
 

Public Attributes

edwards_Fq P_XY
 
edwards_Fq P_XZ
 
edwards_Fq P_ZZplusYZ
 

Friends

std::ostream & operator<< (std::ostream &out, const edwards_ate_G1_precomp &prec_P)
 
std::istream & operator>> (std::istream &in, edwards_ate_G1_precomp &prec_P)
 

Detailed Description

Definition at line 75 of file edwards_pairing.hpp.

Member Function Documentation

◆ operator==()

bool libff::edwards_ate_G1_precomp::operator== ( const edwards_ate_G1_precomp & other) const

Definition at line 149 of file edwards_pairing.cpp.

150{
151 return (this->P_XY == other.P_XY &&
152 this->P_XZ == other.P_XZ &&
153 this->P_ZZplusYZ == other.P_ZZplusYZ);
154}

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const edwards_ate_G1_precomp & prec_P )
friend

Definition at line 156 of file edwards_pairing.cpp.

157{
158 out << prec_P.P_XY << OUTPUT_SEPARATOR << prec_P.P_XZ << OUTPUT_SEPARATOR << prec_P.P_ZZplusYZ;
159
160 return out;
161}
#define OUTPUT_SEPARATOR

◆ operator>>

std::istream & operator>> ( std::istream & in,
edwards_ate_G1_precomp & prec_P )
friend

Definition at line 163 of file edwards_pairing.cpp.

164{
165 in >> prec_P.P_XY >> prec_P.P_XZ >> prec_P.P_ZZplusYZ;
166
167 return in;
168}

Member Data Documentation

◆ P_XY

edwards_Fq libff::edwards_ate_G1_precomp::P_XY

Definition at line 76 of file edwards_pairing.hpp.

◆ P_XZ

edwards_Fq libff::edwards_ate_G1_precomp::P_XZ

Definition at line 77 of file edwards_pairing.hpp.

◆ P_ZZplusYZ

edwards_Fq libff::edwards_ate_G1_precomp::P_ZZplusYZ

Definition at line 78 of file edwards_pairing.hpp.


The documentation for this struct was generated from the following files: