What is the format for sending curve parameters and the public key using ECDHE key exchange?

84 views Asked by At

I attempting to use ECDHE key exchange with AES encryption using mbedtls library on client side.The keys are successfully being generated using the following program . Is there any standard format to attach the curve parameters and public key to the encrypted file so that the server(may use library other than mbedtls) can parse those?

1

There are 1 answers

0
Ron Eldor On

RFC4492 defines the supported elliptic curves extensions. This extension is sent as part of the Client Hello message.
The server will send the used curve in its ServerKeyExchange message.
The public keys are sent using the ServerKeyExchange and ClientKeyExchange messages.