Hi,
I have a couple of questions about the secret key generation of CKKS and its bootstrapping.
-
Here (openfhe-development/base-pke.cpp at 745a4920fd711d789d08d250f1f444bac23195fd · openfheorg/openfhe-development · GitHub) in the code, it seems like it is generating a secret key with hamming weight 16 in SPARSE_TERNARY case, but it says SPARSE_TERNARY uses hamming weight 64 in README. I would like to know if ‘16’ here does not denote the hamming weight.
-
In the CKKS bootstrapping procedure, K_UNIFORM was set to 512 by default. Is this K here the range of the sine approximation? or is it (the range of approximation) * 2^r where r is the number of iterations for the double-angle formula?
Thank you,
Yujin