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

#include <bls12_377_pairing.hpp>

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

Public Member Functions

bool operator== (const bls12_377_ate_ell_coeffs &other) const
 

Public Attributes

bls12_377_Fq2 ell_0
 
bls12_377_Fq2 ell_VW
 
bls12_377_Fq2 ell_VV
 

Friends

std::ostream & operator<< (std::ostream &out, const bls12_377_ate_ell_coeffs &dc)
 
std::istream & operator>> (std::istream &in, bls12_377_ate_ell_coeffs &dc)
 

Detailed Description

Definition at line 33 of file bls12_377_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 34 of file bls12_377_pairing.cpp.

36 {
37  return (
38  this->ell_0 == other.ell_0 && this->ell_VW == other.ell_VW &&
39  this->ell_VV == other.ell_VV);
40 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const bls12_377_ate_ell_coeffs dc 
)
friend

Definition at line 42 of file bls12_377_pairing.cpp.

43 {
44  out << c.ell_0 << OUTPUT_SEPARATOR << c.ell_VW << OUTPUT_SEPARATOR
45  << c.ell_VV;
46  return out;
47 }

◆ operator>>

std::istream& operator>> ( std::istream &  in,
bls12_377_ate_ell_coeffs dc 
)
friend

Definition at line 49 of file bls12_377_pairing.cpp.

50 {
51  in >> c.ell_0;
53  in >> c.ell_VW;
55  in >> c.ell_VV;
56 
57  return in;
58 }

Member Data Documentation

◆ ell_0

bls12_377_Fq2 libff::bls12_377_ate_ell_coeffs::ell_0

Definition at line 34 of file bls12_377_pairing.hpp.

◆ ell_VV

bls12_377_Fq2 libff::bls12_377_ate_ell_coeffs::ell_VV

Definition at line 36 of file bls12_377_pairing.hpp.

◆ ell_VW

bls12_377_Fq2 libff::bls12_377_ate_ell_coeffs::ell_VW

Definition at line 35 of file bls12_377_pairing.hpp.


The documentation for this struct was generated from the following files:
libff::bls12_377_ate_ell_coeffs::ell_0
bls12_377_Fq2 ell_0
Definition: bls12_377_pairing.hpp:34
OUTPUT_SEPARATOR
#define OUTPUT_SEPARATOR
Definition: serialization.hpp:69
libff::consume_OUTPUT_SEPARATOR
void consume_OUTPUT_SEPARATOR(std::istream &in)