Hi.
On a 64-bit system, enabling the OpenSSL NIST 64-bit optimization should result in considerable speed improvements when using
curves: NIST-P224, NIST-P256, and NIST-P521.
You can test this by running the following with and without 64-bit optimization:
Code:
$ openssl speed ecdsap224
On a test system, I get a 60% increase in signings/second and about 190% increase in verifications/second. An additional benefit
is that the 64-bit optimized code uses constant-time multiplications thereby making it more resistant to timing attacks.
I've not sent Pat an email suggesting he adopt this for Slackware64 but I did endorse its usage in another
LQ thread.
The change is simple. Get the official Slackware64 build files and edit openssl.SlackBuild by adding the line in red:
Code:
./config \
--prefix=/usr \
--openssldir=/etc/ssl \
enable-ec_nistp_64_gcc_128 \
no-idea \
no-rc5 \
no-sse2 \
shared
--mancha