Crate fhe_math

Source
Expand description

Mathematical utilities for the fhe.rs library.

Modules§

ntt
Number-Theoretic Transform in ZZ_q.
rns
Residue-Number System operations.
rq
Polynomials in R_q[x] = (ZZ_q1 x … x ZZ_qn)[x] where the qi’s are prime moduli in zq.
zq
Ring operations for moduli up to 62 bits.

Enums§

Error
Enum encapsulation all the possible errors from this library.

Type Aliases§

Result
The Result type for this library.