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

#include <bls12_381_pairing.hpp>

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

Public Member Functions

bool operator== (const bls12_381_ate_ell_coeffs &other) const
 

Public Attributes

bls12_381_Fq2 ell_0
 
bls12_381_Fq2 ell_VW
 
bls12_381_Fq2 ell_VV
 

Friends

std::ostream & operator<< (std::ostream &out, const bls12_381_ate_ell_coeffs &c)
 
std::istream & operator>> (std::istream &in, bls12_381_ate_ell_coeffs &c)
 

Detailed Description

Definition at line 33 of file bls12_381_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 41 of file bls12_381_pairing.cpp.

43 {
44  return (
45  this->ell_0 == other.ell_0 && this->ell_VW == other.ell_VW &&
46  this->ell_VV == other.ell_VV);
47 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const bls12_381_ate_ell_coeffs c 
)
friend

Definition at line 49 of file bls12_381_pairing.cpp.

50 {
51  out << c.ell_0 << OUTPUT_SEPARATOR << c.ell_VW << OUTPUT_SEPARATOR
52  << c.ell_VV;
53  return out;
54 }

◆ operator>>

std::istream& operator>> ( std::istream &  in,
bls12_381_ate_ell_coeffs c 
)
friend

Definition at line 56 of file bls12_381_pairing.cpp.

57 {
58  in >> c.ell_0;
60  in >> c.ell_VW;
62  in >> c.ell_VV;
63 
64  return in;
65 }

Member Data Documentation

◆ ell_0

bls12_381_Fq2 libff::bls12_381_ate_ell_coeffs::ell_0

Definition at line 34 of file bls12_381_pairing.hpp.

◆ ell_VV

bls12_381_Fq2 libff::bls12_381_ate_ell_coeffs::ell_VV

Definition at line 36 of file bls12_381_pairing.hpp.

◆ ell_VW

bls12_381_Fq2 libff::bls12_381_ate_ell_coeffs::ell_VW

Definition at line 35 of file bls12_381_pairing.hpp.


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