handshake-org / goosig

Anonymous RSA signatures
Other
68 stars 14 forks source link

Limit Lucas iterations for choosing P #5

Closed chjj closed 5 years ago

chjj commented 5 years ago

Our Lucas primality test was ported from golang. This initial loop is limited at 10,000. Makes more sense to limit it at maybe 100. If a signer runs over the limit, they will just have to start over.