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

ECDHE / need to use ecc508 to generate EC key pair at "client key exchange" #4

Open
realbright opened this issue Apr 17, 2017 · 3 comments
Labels

Comments

@realbright
Copy link

ssl3_send_client_key_exchange seem to not use ecc508 when generating new ECDH key pair.

Currently, it uses EC_KEY_generate_key (openssl default) but I think, it have to be replaced by ECDH_generate_key() same as "server key exchange"

right?

@agostrer
Copy link
Contributor

agostrer commented Apr 17, 2017 via email

@realbright
Copy link
Author

Actually it depends on the behavior of server not command line.
If server want to verify client it request certificate of client.
Upon client receive this message it will send ClientVerifiy matched with ssl3_send_client_key_exchange.
and in case of ECDH(E) openssl generate key pair using EC_KEY_generate_key (not engine's genkey)

As you can see the patch: 'ecdhe_patch.diff'
you add ECDH_generate_key function in server key exchange to accelerate computation.
but you seem to forgot in client side :)

@agostrer
Copy link
Contributor

agostrer commented Apr 17, 2017 via email

@bryan-hunt bryan-hunt added the bug label Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants