B-4.1 Setup

Let t be the size of plaintext, and q the size of ciphertext, where t < q (t is much smaller than q) and t|q (i.e., t divides q). Randomly pick a list of k (n 1)-degree polynomials as a secret key, where each polynomial coefficient is a randomly picked ternary number in {1,0,1} (i.e., {Si}i=0k1 $Rn,𝑡𝑒𝑟𝑛k). Let Δ = q t be the scaling factor of plaintext.

Notice that GLWE’s setup parameters are similar to that of RLWE. One difference is that S is not an (n 1)-degree polynomial encoding n secret coefficients, but a list of k such (n 1)-degree polynomials encoding total n k secret coefficients.