#include <bn254_if.hpp>
|
| Fp12 () |
|
| Fp12 (const Fp12 &x) |
|
| Fp12 (int x) |
|
void | set (const std::string &str) throw (std::exception) |
|
std::string | toString () const throw (std::exception) |
|
bool | equals (const Fp12 &rhs) const |
|
void | add (const Fp12 &rhs) throw (std::exception) |
|
void | sub (const Fp12 &rhs) throw (std::exception) |
|
void | mul (const Fp12 &rhs) throw (std::exception) |
|
void | pairing (const Ec2 &ec2, const Ec1 &ec1) |
|
void | power (const Mpz &x) |
|
Definition at line 123 of file bn254_if.hpp.
◆ Fp12() [1/3]
◆ Fp12() [2/3]
Fp12::Fp12 |
( |
const Fp12 & | x | ) |
|
|
inline |
◆ Fp12() [3/3]
◆ add()
void Fp12::add |
( |
const Fp12 & | rhs | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ equals()
bool Fp12::equals |
( |
const Fp12 & | rhs | ) |
const |
|
inline |
Definition at line 140 of file bn254_if.hpp.
140{ return self_ == rhs.self_; }
◆ mul()
void Fp12::mul |
( |
const Fp12 & | rhs | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ pairing()
void Fp12::pairing |
( |
const Ec2 & | ec2, |
|
|
const Ec1 & | ec1 ) |
Definition at line 245 of file bn254_if.hpp.
246{
248}
void opt_atePairing(Fp12T< Fp6T< Fp2T< Fp > > > &f, const Fp2T< Fp > Q[2], const Fp P[2])
◆ power()
void Fp12::power |
( |
const Mpz & | x | ) |
|
|
inline |
Definition at line 145 of file bn254_if.hpp.
146 {
148 }
T power(const T &x, const S &y)
◆ set()
void Fp12::set |
( |
const std::string & | str | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
Definition at line 129 of file bn254_if.hpp.
130 {
131 std::istringstream iss(str);
132 iss >> self_;
133 }
◆ sub()
void Fp12::sub |
( |
const Fp12 & | rhs | ) |
|
throw | ( | std::exception ) | | | |
|
inline |
◆ toString()
std::string Fp12::toString |
( |
| ) |
const |
throw | ( | std::exception ) | | | |
|
inline |
Definition at line 134 of file bn254_if.hpp.
135 {
136 std::ostringstream oss;
137 oss << self_;
138 return oss.str();
139 }
The documentation for this class was generated from the following file:
- libraries/fc/libraries/ff/depends/ate-pairing/java/bn254_if.hpp