Skip to main content

masked_add_public

Function masked_add_public 

Source
pub fn masked_add_public(m: &mut MaskedPoly, public: &[i16; 256])
Expand description

Add a public polynomial to a masked polynomial.

Adds the public value only to share0. Since the public polynomial is not secret, it does not need to be split across shares.

ยงArguments

  • m - The masked polynomial to modify in place.
  • public - A public polynomial to add.