Missing check in prime generation?
darconeous opened this issue · 4 comments
darconeous commented
I was reading the RSA key generation code and I couldn't seem to find the check where we make sure that
Am I missing something? Without that check, it would seem that some small portion (~
I hope I'm just missing it.
tarcieri commented
I believe it's here: https://github.com/RustCrypto/RSA/blob/823bb23/src/algorithms/generate.rs#L107
tarcieri commented
tarcieri commented
Going to go ahead and close this. Reopen if you disagree.
tarcieri commented
@dignifiedquire we might consider adding a comment about this to assist people looking for it in the future