diff options
author | lloyd <[email protected]> | 2009-11-17 17:40:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-17 17:40:48 +0000 |
commit | aa361909f881b791cdce67993f3ab0d6af47c140 (patch) | |
tree | e5e4d36ee7cfca0366a11aa90bae4d213d5ec8af /src/entropy | |
parent | 49b20f4e4ff3b8e3141905871ccae9fc70e77a1d (diff) |
In IF decryption, two large powmods are done, one mod p and one mod q. Spawn
one of them off in a new thread and compute the other on the current thread.
Performance on my Core2 shows a 60 to 90% improvement in overall speed in
RSA private key operations. Will probably be even better once std::async
is available (not currently in GCC) since it will probably use a thread pool
which will amortize the thread creation/shutdown cost.
Diffstat (limited to 'src/entropy')
0 files changed, 0 insertions, 0 deletions