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_G1_precomp Struct Reference

#include <bw6_761_pairing.hpp>

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

Public Member Functions

bool operator== (const bw6_761_ate_G1_precomp &other) const
 

Public Attributes

bw6_761_Fq PX
 
bw6_761_Fq PY
 

Friends

std::ostream & operator<< (std::ostream &out, const bw6_761_ate_G1_precomp &prec_P)
 
std::istream & operator>> (std::istream &in, bw6_761_ate_G1_precomp &prec_P)
 

Detailed Description

Definition at line 16 of file bw6_761_pairing.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 11 of file bw6_761_pairing.cpp.

13 {
14  return (this->PX == other.PX && this->PY == other.PY);
15 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const bw6_761_ate_G1_precomp prec_P 
)
friend

Definition at line 17 of file bw6_761_pairing.cpp.

19 {
20  out << prec_P.PX << OUTPUT_SEPARATOR << prec_P.PY;
21 
22  return out;
23 }

◆ operator>>

std::istream& operator>> ( std::istream &  in,
bw6_761_ate_G1_precomp prec_P 
)
friend

Definition at line 25 of file bw6_761_pairing.cpp.

26 {
27  in >> prec_P.PX;
29  in >> prec_P.PY;
30 
31  return in;
32 }

Member Data Documentation

◆ PX

bw6_761_Fq libff::bw6_761_ate_G1_precomp::PX

Definition at line 17 of file bw6_761_pairing.hpp.

◆ PY

bw6_761_Fq libff::bw6_761_ate_G1_precomp::PY

Definition at line 18 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::bw6_761_ate_G1_precomp::PX
bw6_761_Fq PX
Definition: bw6_761_pairing.hpp:17
libff::consume_OUTPUT_SEPARATOR
void consume_OUTPUT_SEPARATOR(std::istream &in)