Module threshold_secret_sharing::numtheory
[−]
[src]
Various number theory utilities functions that are used in the library.
Structs
NewtonPolynomial |
Holds together points and newton-interpolated coefficients for fast evaluation. |
Functions
fft2 |
Compute recursively the 2-radix FFT of |
fft2_inverse |
Inverse FFT for |
fft3 |
Compute recursively the 3-radix FFT of |
fft3_inverse |
Inverse FFT for |
gcd |
GCD euclidean recursive implementation. The first member of the returned
triplet is the GCD of |
lagrange_interpolation_at_zero |
Performs a Lagrange interpolation at origin for a Zp polynomial defined by points. |
mod_evaluate_polynomial |
Evaluation of a polynomial on Zp at one given point using Horner's method. |
mod_inverse |
Inverse of |
mod_pow |
|
newton_evaluate | |
newton_interpolation_general |
General case for newton interpolation in Zp. |
positivise |
Arrange all elements of |