pub fn masked_multiply_public(
masked: &MaskedPoly,
public: &[i16; 256],
out: &mut MaskedPoly,
)Expand description
Multiply a masked polynomial by a public polynomial in NTT domain.
Computes (s0 + s1) * p = s0*p + s1*p by multiplying each share
independently. This is secure because p is public data – there is
no secret-times-secret interaction that would require second-order masking.
§Arguments
masked- The masked secret polynomial (NTT domain).public- A public polynomial (NTT domain).out- Output masked polynomial for the product.