Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

SHA256 in IPP 7.0 is slower than openSSL

Ma_Bo
Beginner
332 Views
Hi guys,
I'm optimizing openSSL with icc and IPP recently.RSA and AES are both accelerated.
But when i test SHA256,it shows that SHA256 of IPP turns slower than openSSL while the message size increases.Is this a bug of IPP or the openSSL has been mostly optimized?

BTW:
SHA1 is similar to SHA256,but it's not obvious
The 2 core functions are,
ippsSHA256MessageDigest(IPP) EVP_sha256(openSSL)


Test results of EVP SHA1 in openSSL:

OpenSSL 1.0.0d 8 Feb 2011
SHA digest alg,data length,cycles/byte
SHA256, 128,7044.00
SHA256, 256,11010.00
SHA256, 512,18732.00
SHA256, 1024,34182.00
SHA256, 2048,65064.00
SHA256, 4096,126846.00
SHA256, 8192,250392.00
SHA256,16384,497592.00


Test Results of IPP SHA256 in IPP:
OpenSSL 1.0.0d 8 Feb 2011
SHA digest alg,data length,cycles/byte
SHA256, 128,7170.00
SHA256, 256,11610.00
SHA256, 512,20328.00
SHA256, 1024,37836.00
SHA256, 2048,72708.00
SHA256, 4096,142566.00
SHA256, 8192,282360.00
SHA256,16384,561780.00

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
332 Views
please look at this article and try the suggestions whichChao provided there.
0 Kudos
Reply