Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSA and ECDSA much slower than openssl #1214

Closed
WuBingzheng opened this issue Dec 18, 2017 · 2 comments
Closed

RSA and ECDSA much slower than openssl #1214

WuBingzheng opened this issue Dec 18, 2017 · 2 comments
Labels
archived Do not use - historically applied to archived issues bug component-crypto Crypto primitives and low-level interfaces help-wanted This issue is not being actively worked on, but PRs welcome.

Comments

@WuBingzheng
Copy link

Description

  • Type: Question
  • Priority: Minor

Question

I test the speed of RSA-2048 and ECDSA-256 of mbedtls(2.6.1) and openssl(1.1.0f), at raspberrypi with arm7.
Here is the result (sign/verify in ops/s) :

         ras2048  ecdsa256
mbedtls  21/823    150/47
openssl  36/1363  1437/718

where mbedtls is much slower than openssl both.
I test this on x86_64 and get similar result, but I do not have the result by now.

I build mbedtls with the default config.h.
Is the result right?

With another issue I posted, I want to ask that, have you benchmarked mbedtls and compared with openssl? Do you care about the performance of mbedtls?

Thanks,
Wu

@RonEld
Copy link
Contributor

RonEld commented Dec 19, 2017

Hi @WuBingzheng Thank you for raising this!
As I answered in the other issue, we will investigate this.

@ciarmcom
Copy link

ARM Internal Ref: IOTSSL-1952

@RonEld RonEld added the component-crypto Crypto primitives and low-level interfaces label Feb 17, 2019
@RonEld RonEld added tracking archived Do not use - historically applied to archived issues help-wanted This issue is not being actively worked on, but PRs welcome. and removed tracking help-wanted This issue is not being actively worked on, but PRs welcome. labels Jun 13, 2019
@RonEld RonEld closed this as completed Jun 13, 2019
minosgalanakis added a commit that referenced this issue Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archived Do not use - historically applied to archived issues bug component-crypto Crypto primitives and low-level interfaces help-wanted This issue is not being actively worked on, but PRs welcome.
Projects
None yet
Development

No branches or pull requests

3 participants