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

#include <edwards_pairing.hpp>

Collaboration diagram for libff::edwards_tate_G2_precomp:

Public Member Functions

bool operator== (const edwards_tate_G2_precomp &other) const
 

Public Attributes

edwards_Fq3 y0
 
edwards_Fq3 eta
 

Friends

std::ostream & operator<< (std::ostream &out, const edwards_tate_G2_precomp &prec_Q)
 
std::istream & operator>> (std::istream &in, edwards_tate_G2_precomp &prec_Q)
 

Detailed Description

Definition at line 40 of file edwards_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 73 of file edwards_pairing.cpp.

74{
75 return (this->y0 == other.y0 &&
76 this->eta == other.eta);
77}

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const edwards_tate_G2_precomp & prec_Q )
friend

Definition at line 79 of file edwards_pairing.cpp.

80{
81 out << prec_Q.y0 << OUTPUT_SEPARATOR << prec_Q.eta;
82 return out;
83}
#define OUTPUT_SEPARATOR

◆ operator>>

std::istream & operator>> ( std::istream & in,
edwards_tate_G2_precomp & prec_Q )
friend

Definition at line 85 of file edwards_pairing.cpp.

86{
87 in >> prec_Q.y0;
89 in >> prec_Q.eta;
90 return in;
91}
void consume_OUTPUT_SEPARATOR(std::istream &in)

Member Data Documentation

◆ eta

edwards_Fq3 libff::edwards_tate_G2_precomp::eta

Definition at line 41 of file edwards_pairing.hpp.

◆ y0

edwards_Fq3 libff::edwards_tate_G2_precomp::y0

Definition at line 41 of file edwards_pairing.hpp.


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