#include <bn128_pairing.hpp>
Definition at line 21 of file bn128_pairing.hpp.
◆ operator==()
◆ operator<<
Definition at line 29 of file bn128_pairing.cpp.
30{
31 for (size_t i = 0; i < 3; ++i)
32 {
33#ifndef BINARY_OUTPUT
34 out << prec_P.P[i] << "\n";
35#else
36 out.write((char*) &prec_P.P[i], sizeof(prec_P.P[i]));
37#endif
38 }
39 return out;
40}
◆ operator>>
Definition at line 42 of file bn128_pairing.cpp.
43{
44 for (size_t i = 0; i < 3; ++i)
45 {
46#ifndef BINARY_OUTPUT
47 in >> prec_P.P[i];
49#else
50 in.read((char*) &prec_P.P[i], sizeof(prec_P.P[i]));
51#endif
52 }
53 return in;
54}
void consume_newline(std::istream &in)
bn::Fp libff::bn128_ate_G1_precomp::P[3] |
The documentation for this struct was generated from the following files: