#include <bn128_gt.hpp>
Definition at line 23 of file bn128_gt.hpp.
◆ bn128_GT()
libff::bn128_GT::bn128_GT |
( |
| ) |
|
◆ one()
◆ operator!=()
bool libff::bn128_GT::operator!= |
( |
const bn128_GT & | other | ) |
const |
Definition at line 23 of file bn128_gt.cpp.
24{
26}
bool operator==(const bn128_GT &other) const
◆ operator*()
Definition at line 28 of file bn128_gt.cpp.
29{
32 return result;
33}
static void(* mul)(Fp12T &z, const Fp12T &x, const Fp12T &y)
◆ operator==()
bool libff::bn128_GT::operator== |
( |
const bn128_GT & | other | ) |
const |
◆ print()
void libff::bn128_GT::print |
( |
| ) |
|
|
inline |
◆ unitary_inverse()
bn128_GT libff::bn128_GT::unitary_inverse |
( |
| ) |
const |
Definition at line 35 of file bn128_gt.cpp.
36{
39 return result;
40}
static void neg(Fp6T &z, const Fp6T &x)
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const bn128_GT & | g ) |
|
friend |
Definition at line 47 of file bn128_gt.cpp.
48{
49#ifndef BINARY_OUTPUT
51#else
52 out.write((char*) &g.elem.a_, sizeof(g.elem.a_));
53 out.write((char*) &g.elem.b_, sizeof(g.elem.b_));
54#endif
55 return out;
56}
◆ operator>>
std::istream & operator>> |
( |
std::istream & | in, |
|
|
bn128_GT & | g ) |
|
friend |
Definition at line 58 of file bn128_gt.cpp.
59{
60#ifndef BINARY_OUTPUT
61 in >> g.elem.a_;
63 in >> g.elem.b_;
64#else
65 in.read((char*) &g.elem.a_, sizeof(g.elem.a_));
66 in.read((char*) &g.elem.b_, sizeof(g.elem.b_));
67#endif
68 return in;
69}
void consume_OUTPUT_SEPARATOR(std::istream &in)
◆ elem
◆ GT_one
The documentation for this class was generated from the following files:
- libraries/fc/libraries/ff/libff/algebra/curves/bn128/bn128_gt.hpp
- libraries/fc/libraries/ff/libff/algebra/curves/bn128/bn128_gt.cpp