RSA
RSA copied to clipboard
[WIP] Minimum modulus size checks
Changes the existing checked APIs to respect a minimum modulus size in addition to a maximum one.
Note: several tests fail because of this, so we'll need to go through them and convert to an unchecked API where appropriate (or decide if the test is bogus to begin with).
Closes #445
Down to 35 test failures 😅
Either superceded by #562 or there is a catch-up merge into this branch in #561
I hope this meets @dignifiedquire's requirements. There are escape hatches for both instantiating keys and keygen, so no functionality is actually removed.