-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
optimization ⚙️Tasks that are refactor, optimize, or are considered chores.Tasks that are refactor, optimize, or are considered chores.
Description
Issue summary
CGGMP paper requires that the ring-Pedersen parameters is a product of safe primes. For security we need to generate 1024 bit safe primes, which is quite time-consuming. One issue is that right now we're using kzen-paillier for generating Paillier keys. It uses fixed number of Miller-Rabin primality checks, but it is more than recommended.
Additionally, we could use https://eprint.iacr.org/2003/186.pdf - right now we sieve p,q individually but the paper recommends an unified sieve, giving potentially 15x speedup
Metadata
Metadata
Assignees
Labels
optimization ⚙️Tasks that are refactor, optimize, or are considered chores.Tasks that are refactor, optimize, or are considered chores.