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

IPP cryptography performance problem

szhen22
Beginner
917 Views

hello:

      I'm using IPP cryptography API  to develop program! do you have any documents about   optimization cryptography API  performace comparing with not  optimization cryptography  algorithem?

     Because ,when I was testing the RSA algorithem , I find the intel IPP RSA  algorithem performance wasn't well with openssl sorce code! If you have any testing report or document abot  cryptography algorithem optimization compare with not optimization ,can you send to me ? thank you!

0 Kudos
5 Replies
Zhen_Z_Intel
Employee
917 Views

Hi sunny,

Could you provide more information including OpenSSL version, IPP crypto version, RSA key size? which CPU you are using (SIMD)? How the performance you tested like?

If you have more question, please submit your request through Intel Online Service Center, and paste your information there. Thanks.

Best regards,
Fiona

0 Kudos
szhen22
Beginner
917 Views

hello Fiona:

       the openssl  version is :1.0.01;

       the intel ipp cp name and version is :Name:ippCP AVX2 (l9),Version: 2017.0.3 (r55431) _2017.0.3.55431

       the intel CPU is :E3-1225

       the following is testing  performance data between openssl and intel ipp cp lib:

   

Generate key pair:

Key length

(bits)

Openssl

( pairs/s)

Intel ipp

(pairs/s)

1024

59

35

2048

10

5

 

 

RSA encryption and decryption:

function

Key length

(bit)

Data

(bytes)

Openssl 

(times/s)

Intel ipp

(times/s)

ippsRSA_Encrypt

1024

128

104341

87368

2048

256

31945

27745

ippsRSA_Decrypt

1024

128

5907

7547

2048

256

958

1500

 

 

RSA sign and verify:

function

Key length

(bit)

Data

(bytes)

Openssl 

(times/s)

Intel ipp

(times/s)

ippsRSASign_PSS

1024

128

5915

7085

2048

256

971

1345

ippsRSAVerify_PSS

1024

128

105508

89106

2048

256

31998

27855

   from the datasheet, we can find intel RSA key pair generate isn't well with openssl, otherwise ippsRSA_Encrypt and ippsRSAVerify_PSS alse aren't  well withe opensll!

0 Kudos
szhen22
Beginner
917 Views

the performance tesing data is attached files, it is word document,please open this !

0 Kudos
Zhen_Z_Intel
Employee
917 Views

Hi Sunny,

I've post your testing report to our developing team to have a check and will give you a reply soon. Thanks.

Best regards,
Fiona

0 Kudos
szhen22
Beginner
917 Views

hello:

    I haven't received any respond from your development team about this question for such many days. Can you tell me when they will answer me about my question? I'm waiting for your respond to reslove my development program. Sincerely, hope will be so fast ,thank you very much!

   Otherwise ,can you send me about your testing performance report about RSA algorithem by your development team? thanks!

0 Kudos
Reply