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

#include <mnt4_pairing.hpp>

Collaboration diagram for libff::mnt4_ate_G1_precomp:

Public Member Functions

bool operator== (const mnt4_ate_G1_precomp &other) const
 

Public Attributes

mnt4_Fq PX
 
mnt4_Fq PY
 
mnt4_Fq2 PX_twist
 
mnt4_Fq2 PY_twist
 

Friends

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

Detailed Description

Definition at line 60 of file mnt4_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 25 of file mnt4_pairing.cpp.

26{
27 return (this->PX == other.PX &&
28 this->PY == other.PY &&
29 this->PX_twist == other.PX_twist &&
30 this->PY_twist == other.PY_twist);
31}

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 33 of file mnt4_pairing.cpp.

34{
35 out << prec_P.PX << OUTPUT_SEPARATOR << prec_P.PY << OUTPUT_SEPARATOR << prec_P.PX_twist << OUTPUT_SEPARATOR << prec_P.PY_twist;
36
37 return out;
38}
#define OUTPUT_SEPARATOR

◆ operator>>

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

Definition at line 40 of file mnt4_pairing.cpp.

41{
42 in >> prec_P.PX;
44 in >> prec_P.PY;
46 in >> prec_P.PX_twist;
48 in >> prec_P.PY_twist;
49
50 return in;
51}
void consume_OUTPUT_SEPARATOR(std::istream &in)

Member Data Documentation

◆ PX

mnt4_Fq libff::mnt4_ate_G1_precomp::PX

Definition at line 61 of file mnt4_pairing.hpp.

◆ PX_twist

mnt4_Fq2 libff::mnt4_ate_G1_precomp::PX_twist

Definition at line 63 of file mnt4_pairing.hpp.

◆ PY

mnt4_Fq libff::mnt4_ate_G1_precomp::PY

Definition at line 62 of file mnt4_pairing.hpp.

◆ PY_twist

mnt4_Fq2 libff::mnt4_ate_G1_precomp::PY_twist

Definition at line 64 of file mnt4_pairing.hpp.


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