Function lbcrypto::GetCollapsedFFTParams
Defined in File ckksrns-utils.cpp
Function Documentation
-
std::vector<int32_t> lbcrypto::GetCollapsedFFTParams(uint32_t slots, uint32_t levelBudget = 4, uint32_t dim1 = 0)
Computes all parameters needed for the homomorphic encoding and decoding in the bootstrapping operation and returns them as a vector. The returned vector’s data can be accessed using enum’ed indices from CKKS_BOOT_PARAMS that are defined below.
- Parameters
slots – number of slots
levelBudget – the allocated level budget for the computation.
dim1 – the value for the inner dimension in the baby-step giant-step strategy
- Returns
vector with parameters for the homomorphic encoding and decoding in bootstrapping