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

Accelerate ECDSA/ECDHE #367

Open
tomato42 opened this issue Nov 5, 2019 · 2 comments
Open

Accelerate ECDSA/ECDHE #367

tomato42 opened this issue Nov 5, 2019 · 2 comments
Labels
complex Issues that require good knowledge of tlslite-ng internals or cryptography help wanted

Comments

@tomato42
Copy link
Member

tomato42 commented Nov 5, 2019

use m2crypto, pycryptodome, cryptography or some other native library to accelerate ECDSA and ECDHE operations

some mechanism similar to the one used for RSA keys should be used to select the backend implementing the actual crypto

this is continuation of work from #196

@tomato42 tomato42 added help wanted complex Issues that require good knowledge of tlslite-ng internals or cryptography labels Nov 5, 2019
@tomato42 tomato42 added this to the someday/future milestone Nov 5, 2019
@tomato42 tomato42 mentioned this issue Nov 5, 2019
15 tasks
@HMaker
Copy link

HMaker commented Aug 28, 2022

Which algorithms should be abstracted? Or we can just implement ECDSAKey interface?

@tomato42
Copy link
Member Author

The whole ECDSAKey interface should be implemented.

You can look at examples with AES: https://github.com/tlsfuzzer/tlslite-ng/blob/master/tlslite/utils/openssl_aes.py and https://github.com/tlsfuzzer/tlslite-ng/blob/master/tlslite/utils/python_aes.py
and with RSA: https://github.com/tlsfuzzer/tlslite-ng/blob/master/tlslite/utils/openssl_rsakey.py and https://github.com/tlsfuzzer/tlslite-ng/blob/master/tlslite/utils/python_rsakey.py

(slightly counter-intuitively, the openssl_ prefix is used for implementations that use M2Crypto)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complex Issues that require good knowledge of tlslite-ng internals or cryptography help wanted
Projects
None yet
Development

No branches or pull requests

2 participants