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
Describe the solution you'd like
It would be nice if the code used the Chinese Reminder Theorem optimisation, as that would increase performance by a factor of 2 to 3
Describe alternatives you've considered
Not using CRT hurts performance in typical case
Additional context
Basically every production grade implementation of RSA uses the CRT approach for the RSA private key operation.
That being said, I'm far from familiar with F*, so I may be reading the code completely incorrectly, feel free to point out to me that I'm reading the code incorrectly or looking at wrong piece of code.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The implementation of RSAPSS doesn't seem to be using the CRT optimisation:
hacl-star/code/rsapss/Hacl.Spec.RSAPSS.fst
Lines 317 to 324 in d59b0b0
Describe the solution you'd like
It would be nice if the code used the Chinese Reminder Theorem optimisation, as that would increase performance by a factor of 2 to 3
Describe alternatives you've considered
Not using CRT hurts performance in typical case
Additional context
Basically every production grade implementation of RSA uses the CRT approach for the RSA private key operation.
That being said, I'm far from familiar with F*, so I may be reading the code completely incorrectly, feel free to point out to me that I'm reading the code incorrectly or looking at wrong piece of code.
The text was updated successfully, but these errors were encountered: