Wire Sysio Wire Sysion 1.0.0
|
#include <bn.h>
Public Types | |
enum | { SIZE = FpDbl::SIZE * 2 } |
typedef Fp::Dbl | FpDbl |
typedef void | uni_op(Dbl &, const Dbl &) |
typedef void | bin_op(Dbl &, const Dbl &, const Dbl &) |
Public Member Functions | |
std::string | toString (int base=10) const |
Dbl () | |
Dbl (const Fp2T &x) | |
Dbl (const Fp &a, const Fp &b) | |
Dbl (const FpDbl &a, const FpDbl &b) | |
Dbl (const std::string &a, const std::string &b) | |
void | setDirect (const mie::Vuint &a, const mie::Vuint &b) |
void | setDirect (const FpDbl &a, const FpDbl &b) |
FpDbl * | get () |
const FpDbl * | get () const |
void | clear () |
bool | isZero () const |
Public Member Functions inherited from mie::local::addsubmul< Dbl, mie::local::hasNegative< Dbl > > | |
MIE_FORCE_INLINE Dbl & | operator+= (const N &rhs) |
MIE_FORCE_INLINE Dbl & | operator-= (const Dbl &rhs) |
MIE_FORCE_INLINE Dbl & | operator*= (const Dbl &rhs) |
Public Member Functions inherited from mie::local::hasNegative< Dbl > | |
MIE_FORCE_INLINE Dbl | operator- () const |
Static Public Member Functions | |
static void | addC (Dbl &z, const Dbl &x, const Dbl &y) |
static void | addNC_C (Dbl &z, const Dbl &x, const Dbl &y) |
static void | negC (Dbl &z, const Dbl &x) |
static void | subC (Dbl &z, const Dbl &x, const Dbl &y) |
static void | subNC_C (Dbl &z, const Dbl &x, const Dbl &y) |
static void | mul_xiC (Dbl &z, const Dbl &x) |
static void | mulOptC (Dbl &z, const Fp2T &x, const Fp2T &y, int mode) |
static void | mulOpt1C (Dbl &z, const Fp2T &x, const Fp2T &y) |
static void | mulOpt2C (Dbl &z, const Fp2T &x, const Fp2T &y) |
static void | squareC (Dbl &z, const Fp2T &x) |
static void | modC (Fp2T &z, const Dbl &x) |
Public Attributes | |
FpDbl | a_ |
FpDbl | b_ |
Static Public Attributes | |
static bin_op * | add = &(Fp2T<Fp>::Dbl::addC) |
static bin_op * | addNC = &(Fp2T<Fp>::Dbl::addNC_C) |
static uni_op * | neg = &(Fp2T<Fp>::Dbl::negC) |
static bin_op * | sub = &(Fp2T<Fp>::Dbl::subC) |
static bin_op * | subNC = &(Fp2T<Fp>::Dbl::subNC_C) |
static void(* | mulOpt1 )(Dbl &z, const Fp2T &x, const Fp2T &y) |
static void(* | mulOpt2 )(Dbl &z, const Fp2T &x, const Fp2T &y) |
static void(* | square )(Dbl &z, const Fp2T &x) |
static void(* | mod )(Fp2T &z, const Dbl &x) |
static uni_op * | mul_xi = &(Fp2T<Fp>::Dbl::mul_xiC) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Dbl &x) |
bool | operator== (const Dbl &x, const Dbl &y) |
bool | operator!= (const Dbl &x, const Dbl &y) |
Definition at line 717 of file bn.h.
|
inlinestatic |
Definition at line 725 of file bn.h.
|
inline |
Definition at line 755 of file bn.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |