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

#include <edwards_pairing.hpp>

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

Public Member Functions

bool operator== (const edwards_Fq_conic_coefficients &other) const
 

Public Attributes

edwards_Fq c_ZZ
 
edwards_Fq c_XY
 
edwards_Fq c_XZ
 

Friends

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

Detailed Description

Definition at line 26 of file edwards_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 18 of file edwards_pairing.cpp.

20 {
21  return (
22  this->c_ZZ == other.c_ZZ && this->c_XY == other.c_XY &&
23  this->c_XZ == other.c_XZ);
24 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 26 of file edwards_pairing.cpp.

28 {
29  out << cc.c_ZZ << OUTPUT_SEPARATOR << cc.c_XY << OUTPUT_SEPARATOR
30  << cc.c_XZ;
31  return out;
32 }

◆ operator>>

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

Definition at line 34 of file edwards_pairing.cpp.

35 {
36  in >> cc.c_ZZ;
38  in >> cc.c_XY;
40  in >> cc.c_XZ;
41  return in;
42 }

Member Data Documentation

◆ c_XY

edwards_Fq libff::edwards_Fq_conic_coefficients::c_XY

Definition at line 28 of file edwards_pairing.hpp.

◆ c_XZ

edwards_Fq libff::edwards_Fq_conic_coefficients::c_XZ

Definition at line 29 of file edwards_pairing.hpp.

◆ c_ZZ

edwards_Fq libff::edwards_Fq_conic_coefficients::c_ZZ

Definition at line 27 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_Fq_conic_coefficients::c_ZZ
edwards_Fq c_ZZ
Definition: edwards_pairing.hpp:27