![]() |
operations in a finite prime field F_p. More...
Go to the source code of this file.
Macros | |
| #define | FACTORY_INT64 long long int |
Functions | |
| int | ff_newinv (const int) |
| int | ff_biginv (const int) |
| void | ff_setprime (const int) |
| int | ff_norm (const int a) |
| long | ff_norm (const long a) |
| int | ff_symmetric (const int a) |
| long | ff_symmetric (const long a) |
| int | ff_longnorm (const long a) |
| int | ff_bignorm (const FACTORY_INT64 a) |
| int | ff_add (const int a, const int b) |
| int | ff_sub (const int a, const int b) |
| int | ff_neg (const int a) |
| int | ff_mul (const int a, const int b) |
| int | ff_inv (const int a) |
| int | ff_div (const int a, const int b) |
Variables | |
| int | ff_prime |
| int | ff_halfprime |
| short * | ff_invtab |
| bool | ff_big |
operations in a finite prime field F_p.
The largest supported p is 536870909, i.e. the largest prime less than 2^29.
Definition in file ffops.h.
|
inline |
|
inline |
Definition at line 59 of file ffops.h.
|
inline |
Definition at line 67 of file ffops.h.