-
Notifications
You must be signed in to change notification settings - Fork 62
Description
I am getting familiar with EVA, and am generating some basic linear algebra programs.
I am working with the vector dot product, and have three versions of the program, one using EVA with vector size 1, one with vector size=N, and a third that uses the dot product in TenSEAL.
However, I find though both are derived from SEAL, they have different ways of defining the security level.
For EVA, I set the security level to 128, whereas for TenSEAL it's a bit more involved. Right now I am setting:
poly_mod_degree = 8192
coeff_mod_bit_sizes = [60, 40, 40, 60]When I run the dot benchmark, TenSEAL is much slower, and also fails to meet my accuracy requirements for size 512 and above.
I have been looking at the security config of EVA,
TenSEAL will be choosing vector sizes using its own scheme, but regarding the precision/security level, how do I ensure that my comparison is fair?
