-
Notifications
You must be signed in to change notification settings - Fork 49
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
Comments
I will need to review the code (didn't do it for over a year). TLS handles differently the client and the server so ecc508 is called from different places.
I remember that we tested all combinations and both client and server were calling ecc508. However it depends on the command line. Try all examples.
Regards,
Alex
…Sent from my iPad
On Apr 16, 2017, at 7:40 PM, realbright ***@***.***> wrote:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually it depends on the behavior of server not command line. As you can see the patch: 'ecdhe_patch.diff' |
I remember that ecc508 ECDH was called from different place on the client. But like I said, time passed, probably I forgot something. Maybe it is a bug.
You can enable logging in the Makefile and see if ecc508 ECDH is called.
…Sent from my iPad
On Apr 16, 2017, at 9:51 PM, realbright ***@***.***> wrote:
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 :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
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?
The text was updated successfully, but these errors were encountered: