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?