You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was reading through the implementation of the code, and I believe that there is an off by one error in the SizeData method for a TLWE key. As far as I understand, this should be size of Binary times degree of the polynomials (n) times the number of elements of the secret key vector (k). (k+1) would be referring to the TLWE sample size (T_N[X]^k, T_N[X]).
Hi, I was reading through the implementation of the code, and I believe that there is an off by one error in the
SizeData
method for a TLWE key. As far as I understand, this should be size of Binary times degree of the polynomials (n) times the number of elements of the secret key vector (k). (k+1) would be referring to the TLWE sample size (T_N[X]^k, T_N[X]).cuFHE/cufhe/include/cufhe_core.h
Line 162 in 1af2f2b
Part of this is just to confirm my understanding of the code, as I'm sure this is not so serious and is probably only used in size calculations!
The text was updated successfully, but these errors were encountered: