Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

RSA PSS and OAEP algorithms improvements

Compare
Choose a tag to compare
@Spomky Spomky released this 31 Jul 19:05
· 88 commits to master since this release

To fix bug #111 the RSA PSS and OAEP algorithms where modified to use only n, e and d values of the RSA key.
The problem with that approach is that the algorithms are not optimized.
Now when dQ, dP and qInv are not available, they are calculated and the Chinese Remainder Theorem is used.
The algorithms are approx. 1.5x time faster than before.