Closed amiller closed 5 years ago
For Equality Testing, a potential way is [NO07]. It provides the following solutions:
(2+23) R + (93 L + 47L logL) M
.(2+6) R + 81L M
(ongoing)(2+2) R + 12k M
, k - secure parameter
(-1 / p) = -1
, bj \in { -1, 1 }
which is implemented in viff(2 / p) = -1
, bj' = -(bj - 3) / 2 \in { 2, 1 }
(y/p) = -1
y = 5
, s.t. (y / p) = -1
, bj' = -2 * (bj - 3/2) \in { 5, 1 }
Viff comes with support for several useful operations, such as comparing greater than / less than / equality for integers, splitting integers into parts, etc. see this for example https://github.com/amiller/viff/blob/master/apps/compare.py
~- [ ] Bit decomposition~