OpenSolaris

Printable Version Enter a New Search
Bug ID 6811474
Synopsis RSA is slower with Solaris KCF than OpenSSL on amd64
State 10-Fix Delivered (Fix available in build)
Category:Subcategory solaris-crypto:algorithms
Keywords SFO | ef-iteam | ef-reviewed
Responsible Engineer Daniel Anderson
Reported Against snv_109
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_111
Fixed In snv_111
Release Fixed solaris_nevada(snv_111)
Related Bugs 4859068 , 6799218 , 6823193
Submit Date 28-February-2009
Last Update Date 25-March-2009
Description
RSA encryption/signing using Solaris Kernel Crypto Framework (KCF) is lagging behind benchmarks from OpenSSL 0.9.8j on amd64 Solaris Nevada.

Almost all of RSA time is spent in the bignum kernel module, so that is where performance gains must originate.

This CR is to provide further performance benefit in addition to:
     6799218 RSA using Solaris Kernel Crypto framework lagging behind OpenSSL
which was putback to NV110 and improved performance by improving the bignum library.  The previous improvement from changing from 32-bit chunks (bignum "digits") to 64-bit chunks for Solaris amd64 architecture.

The further performance benefit is from a patch by Amitabha Banerjee, who found that bignum's big_mul() function took a lot of time and found some optimization tricks that could be done to the routine.
Work Around
N/A
Comments
N/A