Function lbcrypto::PrecomputeAutoMap
Defined in File nbtheory2.cpp
Function Documentation
-
void lbcrypto::PrecomputeAutoMap(uint32_t n, uint32_t k, std::vector<uint32_t> *precomp)
Precompute a bit reversal map for a specific automorphism
- Parameters
n – ring dimension
k – automorphism index
*precomp – the vector where the precomputed table is stored