Skip to content
Commit b12753df authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

We cache a montgomery form for 'n' if the PUBLIC flag is set, not PRIVATE.

Also, I've added handling for other mod_exp calls that were not using any
cached montgomery forms. These cases matter only for special RSA keys (eg.
ones that are missing information) so are unlikely to be used in normal
circumstances.
parent 79221bc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment