Functions | |
| static void | mod_m (const uint64_t *mul, uint64_t *out) |
| Compute a value congruent to mul modulo m less than 2 ** 576. | |
| static void | mulmod (const uint64_t *in1, uint64_t *inout) |
| Combine multiply9x9 and mod_m with internal temporary storage. | |
| static void | multiply9x9 (const uint64_t *in1, const uint64_t *in2, uint64_t *out) |
| Multiply two 576 bit numbers, stored as 9 numbers of 64 bits each. | |
| static void | powermod (const uint64_t *base, uint64_t *res, uint64_t n) |
| Compute base to the n modulo m. | |
|
static |
Compute a value congruent to mul modulo m less than 2 ** 576.
| [in] | mul | product from multiply9x9 with 18 numbers of 64 bits each |
| [out] | out | result with 9 numbers of 64 bits each |
\( m = 2^{576} - 2^{240} + 1 \)
The result in out is guaranteed to be smaller than the modulus.
|
static |
|
static |
|
static |