relic-toolkit / relic

Code
Other
452 stars 179 forks source link

Instead of hoping for the correct number of bits, fix the largest bit #262

Closed jgdumas closed 1 year ago

jgdumas commented 1 year ago

This improves bn_gen_prime_factor, generating a prime with large (p-1) prime factor. Once the large prime factor, a, is found,