|
Public Types |
typedef UnparametricField<
uint32 >::Element | Element |
enum | Exponent { _min = 0,
_max = 32
} |
Public Methods |
| Local2_32 (int p=2, int exp=32) |
Static Public Methods |
Exponent & | gcdin (Exponent &k, const Element &b) |
bool | isUnit (const Exponent &a) |
bool | isZero (const Element &a) |
bool | isZero (const Exponent &a) |
bool | isUnit (const Element &a) |
Element & | mulin (Element &a, const Exponent &k) |
Element & | mulin (Element &a, const Element &b) |
Element & | axpyin (Element &r, const Element &x, const Element &y) |
Element & | divin (Element &a, const Exponent &k) |
Element & | inv (Element &a, const Element &b) |
integer | getMaxModulus () |
Static Protected Methods |
Element & | xgcd (Element &d, Element &s, Element &t, const Element &a, const Element &b) |
Element & | HGCD (Element &g, Element &s, const Element &a, const Element &b) |
| Half GCD g = gcd (a, b). exists t, such that: s * a + t * b = g. return g.
|