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

#include <bw6_761_pairing.hpp>

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

Public Member Functions

bool operator== (const bw6_761_ate_G2_precomp &other) const
 

Public Attributes

bw6_761_ate_G2_precomp_iteration precomp_1
 
bw6_761_ate_G2_precomp_iteration precomp_2
 

Friends

std::ostream & operator<< (std::ostream &out, const bw6_761_ate_G2_precomp &prec_Q)
 
std::istream & operator>> (std::istream &in, bw6_761_ate_G2_precomp &prec_Q)
 

Detailed Description

Definition at line 51 of file bw6_761_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 105 of file bw6_761_pairing.cpp.

107 {
108  return (
109  this->precomp_1 == other.precomp_1 &&
110  this->precomp_2 == other.precomp_2);
111 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const bw6_761_ate_G2_precomp prec_Q 
)
friend

Definition at line 113 of file bw6_761_pairing.cpp.

115 {
116  out << prec_Q.precomp_1 << OUTPUT_SEPARATOR << prec_Q.precomp_2 << "\n";
117  return out;
118 }

◆ operator>>

std::istream& operator>> ( std::istream &  in,
bw6_761_ate_G2_precomp prec_Q 
)
friend

Definition at line 120 of file bw6_761_pairing.cpp.

121 {
122  in >> prec_Q.precomp_1;
124  in >> prec_Q.precomp_2;
125  consume_newline(in);
126  return in;
127 }

Member Data Documentation

◆ precomp_1

bw6_761_ate_G2_precomp_iteration libff::bw6_761_ate_G2_precomp::precomp_1

Definition at line 52 of file bw6_761_pairing.hpp.

◆ precomp_2

bw6_761_ate_G2_precomp_iteration libff::bw6_761_ate_G2_precomp::precomp_2

Definition at line 53 of file bw6_761_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::bw6_761_ate_G2_precomp::precomp_1
bw6_761_ate_G2_precomp_iteration precomp_1
Definition: bw6_761_pairing.hpp:52
libff::consume_newline
void consume_newline(std::istream &in)