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,
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