You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the current crypto-primes behavior is to only set the MSB, the bit size of the product of two primes of bit size n can have the size of 2n or 2n-1 bits. With entropyxyz/crypto-primes#69 merged we can now set the second MSB as well, making the product bit size constant. This should be done in rsa.rs, and the modulus size conditions made more strict (look for MODULUS_BITS - 2 lines).
The text was updated successfully, but these errors were encountered:
Since the current
crypto-primes
behavior is to only set the MSB, the bit size of the product of two primes of bit sizen
can have the size of2n
or2n-1
bits. With entropyxyz/crypto-primes#69 merged we can now set the second MSB as well, making the product bit size constant. This should be done inrsa.rs
, and the modulus size conditions made more strict (look forMODULUS_BITS - 2
lines).The text was updated successfully, but these errors were encountered: