Clearmatics Libff  0.1
C++ library for Finite Fields and Elliptic Curves
Public Member Functions | Public Attributes | Friends | List of all members
libff::edwards_Fq3_conic_coefficients Struct Reference

#include <edwards_pairing.hpp>

Collaboration diagram for libff::edwards_Fq3_conic_coefficients:
Collaboration graph
[legend]

Public Member Functions

bool operator== (const edwards_Fq3_conic_coefficients &other) const
 

Public Attributes

edwards_Fq3 c_ZZ
 
edwards_Fq3 c_XY
 
edwards_Fq3 c_XZ
 

Friends

std::ostream & operator<< (std::ostream &out, const edwards_Fq3_conic_coefficients &cc)
 
std::istream & operator>> (std::istream &in, edwards_Fq3_conic_coefficients &cc)
 

Detailed Description

Definition at line 66 of file edwards_pairing.hpp.

Member Function Documentation

◆ operator==()

bool libff::edwards_Fq3_conic_coefficients::operator== ( const edwards_Fq3_conic_coefficients other) const

Definition at line 96 of file edwards_pairing.cpp.

98 {
99  return (
100  this->c_ZZ == other.c_ZZ && this->c_XY == other.c_XY &&
101  this->c_XZ == other.c_XZ);
102 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const edwards_Fq3_conic_coefficients cc 
)
friend

Definition at line 104 of file edwards_pairing.cpp.

106 {
107  out << cc.c_ZZ << OUTPUT_SEPARATOR << cc.c_XY << OUTPUT_SEPARATOR
108  << cc.c_XZ;
109  return out;
110 }

◆ operator>>

std::istream& operator>> ( std::istream &  in,
edwards_Fq3_conic_coefficients cc 
)
friend

Definition at line 112 of file edwards_pairing.cpp.

113 {
114  in >> cc.c_ZZ;
116  in >> cc.c_XY;
118  in >> cc.c_XZ;
119  return in;
120 }

Member Data Documentation

◆ c_XY

edwards_Fq3 libff::edwards_Fq3_conic_coefficients::c_XY

Definition at line 68 of file edwards_pairing.hpp.

◆ c_XZ

edwards_Fq3 libff::edwards_Fq3_conic_coefficients::c_XZ

Definition at line 69 of file edwards_pairing.hpp.

◆ c_ZZ

edwards_Fq3 libff::edwards_Fq3_conic_coefficients::c_ZZ

Definition at line 67 of file edwards_pairing.hpp.


The documentation for this struct was generated from the following files:
OUTPUT_SEPARATOR
#define OUTPUT_SEPARATOR
Definition: serialization.hpp:69
libff::consume_OUTPUT_SEPARATOR
void consume_OUTPUT_SEPARATOR(std::istream &in)
libff::edwards_Fq3_conic_coefficients::c_ZZ
edwards_Fq3 c_ZZ
Definition: edwards_pairing.hpp:67