Inversed-Tech / eyelid

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

Change iris dimensions to match the report, and fix encoded polynomial block configurations #105

Closed teor2345 closed 1 month ago

teor2345 commented 1 month ago

Dimension Changes

Currently we're using iris dimensions of 160x80, but the production dimensions are slightly different. So this PR changes those sizes to match the production system.

Design Changes

As part of this change, we need to fix some design issues:

So this PR creates two different kinds of configs:

These design changes are needed for ticket #89.

Cleanups

It also improves performance and ease of use:

And fixes some bugs:

Close #102 Part of #89, #100

teor2345 commented 1 month ago

Some benchmarks will change because we changed the size of the iris code, for example:

Benchmark suite Current: d38c37e Previous: b2b5a96 Ratio Plaintext full match/random 657171 ns/iter (± 56739) 975758 ns/iter (± 7168) 0.67