Inversed-Tech / eyelid

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

Naive cyclotomic multiplication over ark-poly #6

Closed emmorais closed 5 months ago

emmorais commented 5 months ago

This PR implements the naive multiplication for cyclotomic rings using ark-poly as infrastructure.

Benchmark gave the following result:

Cyclotomic multiplication/Random input
                        time:   [67.306 ms 67.361 ms 67.427 ms]

For reference, see the other benchmark available:

Full iris match: plaintext/Random iris codes and masks
                        time:   [1.0783 ms 1.0927 ms 1.1111 ms]
teor2345 commented 5 months ago

You can add a benchmark here: https://github.com/Inversed-Tech/eyelid/blob/main/eyelid-match-ops/benches/match-ops.rs

teor2345 commented 5 months ago

Benchmark gave the following result:

Cyclotomic multiplication/Random input
                        time:   [67.306 ms 67.361 ms 67.427 ms]

Can you show the benchmark for Full iris match: plaintext as well, so we can have some idea of the comparison between different machines?

emmorais commented 5 months ago

Benchmark gave the following result:

Cyclotomic multiplication/Random input
                        time:   [67.306 ms 67.361 ms 67.427 ms]

Can you show the benchmark for Full iris match: plaintext as well, so we can have some idea of the comparison between different machines?

I took it from the benchmark executed here on github, it is not from my machine. See the information next:

Full iris match: plaintext/Random iris codes and masks
                        time:   [1.0783 ms 1.0927 ms 1.1111 ms]