Lines Matching refs:ecdh
1242 EC_KEY *ecdh = NULL; in ssl3_send_server_key_exchange() local
1336 if (s->s3->tmp.ecdh != NULL) { in ssl3_send_server_key_exchange()
1341 ecdh = EC_KEY_new_by_curve_name(nid); in ssl3_send_server_key_exchange()
1342 if (ecdh == NULL) { in ssl3_send_server_key_exchange()
1345 s->s3->tmp.ecdh = ecdh; in ssl3_send_server_key_exchange()
1347 if (!EC_KEY_generate_key(ecdh)) { in ssl3_send_server_key_exchange()
1353 const EC_GROUP *group = EC_KEY_get0_group(ecdh); in ssl3_send_server_key_exchange()
1363 EC_POINT_point2oct(group, EC_KEY_get0_public_key(ecdh), in ssl3_send_server_key_exchange()
1374 encodedlen = EC_POINT_point2oct(group, EC_KEY_get0_public_key(ecdh), in ssl3_send_server_key_exchange()
1866 tkey = s->s3->tmp.ecdh; in ssl3_get_client_key_exchange()
1938 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_get_client_key_exchange()
1939 s->s3->tmp.ecdh = NULL; in ssl3_get_client_key_exchange()