Skip to main content
. 2024 Nov 19;17:273. doi: 10.1186/s12920-024-02037-9

graphic file with name 12920_2024_2037_Figc_HTML.jpg

Algorithm 3 Computation of the inner sum of the elements in the slots of a vector of ciphertexts, which is described by the last two equations in Eq. 16. N is the polynomial ring size, such that N/2 corresponds to the number of slots. Here we assume empty slots are filled with zeros