Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive changes to standardize the use of uint32_t: phase 2 #924

Open
wants to merge 6 commits into
base: tmp-dev
Choose a base branch
from
11 changes: 0 additions & 11 deletions src/pke/include/scheme/ckksrns/ckksrns-utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,6 @@ std::vector<std::vector<std::vector<std::complex<double>>>> CoeffDecodingCollaps
*/
uint32_t ReduceRotation(int32_t index, uint32_t slots);

/**
* Computes parameters to ensure the encoding and decoding computations take exactly the
* specified number of levels. More specifically, it returns a vector than contains
* layers (the number of layers to collapse in one level), rows (how many such levels),
* rem (the number of layers remaining to be collapsed in one level)
*
* @param logSlots the base 2 logarithm of the number of slots.
* @param budget the allocated level budget for the computation.
*/
std::vector<uint32_t> SelectLayers(uint32_t logSlots, uint32_t budget = 4);

/**
* 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
Expand Down
Loading