#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 |
◆ operator*()
Definition at line 26 of file bn128_gt.cpp.
29 bn::Fp12::mul(result.elem, this->elem, other.elem);
◆ 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 33 of file bn128_gt.cpp.
36 bn::Fp6::neg(result.elem.b_, result.elem.b_);
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const bn128_GT & |
g |
|
) |
| |
|
friend |
Definition at line 42 of file bn128_gt.cpp.
47 out.write((
char *)&g.elem.a_,
sizeof(g.elem.a_));
48 out.write((
char *)&g.elem.b_,
sizeof(g.elem.b_));
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
bn128_GT & |
g |
|
) |
| |
|
friend |
Definition at line 53 of file bn128_gt.cpp.
60 in.read((
char *)&g.elem.a_,
sizeof(g.elem.a_));
61 in.read((
char *)&g.elem.b_,
sizeof(g.elem.b_));
◆ elem
bn::Fp12 libff::bn128_GT::elem |
◆ GT_one
The documentation for this class was generated from the following files:
- /home/runner/work/libff/libff/libff/algebra/curves/bn128/bn128_gt.hpp
- /home/runner/work/libff/libff/libff/algebra/curves/bn128/bn128_gt.cpp