Inversed-Tech / eyelid

Private iris matching
Apache License 2.0
0 stars 0 forks source link

Hide unused coefficients after inner products #87

Open naure opened 1 month ago

naure commented 1 month ago

Following https://github.com/Inversed-Tech/eyelid/pull/81

After the polynomial product, only some coefficients contain the desired outputs, that is the inner products. Other coefficients may reveal information about input, which should be removed before decryption or further processing.

One way to do that is to add a blinding polynomial, with zeros at the location of outputs, and random coefficients at the locations to hide. Find the locations here in accumulate_inner_products(…).

Tasks