Lines Matching refs:ecdh
902 if (s->s3->tmp.ecdh != NULL) in ssl3_check_client_hello()
904 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_check_client_hello()
905 s->s3->tmp.ecdh = NULL; in ssl3_check_client_hello()
1567 EC_KEY *ecdh=NULL, *ecdhp; in ssl3_send_server_key_exchange() local
1700 if (s->s3->tmp.ecdh != NULL) in ssl3_send_server_key_exchange()
1712 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in ssl3_send_server_key_exchange()
1718 s->s3->tmp.ecdh=ecdh; in ssl3_send_server_key_exchange()
1719 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange()
1720 (EC_KEY_get0_private_key(ecdh) == NULL) || in ssl3_send_server_key_exchange()
1723 if(!EC_KEY_generate_key(ecdh)) in ssl3_send_server_key_exchange()
1730 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in ssl3_send_server_key_exchange()
1731 (EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange()
1732 (EC_KEY_get0_private_key(ecdh) == NULL)) in ssl3_send_server_key_exchange()
1762 EC_KEY_get0_public_key(ecdh), in ssl3_send_server_key_exchange()
1777 EC_KEY_get0_public_key(ecdh), in ssl3_send_server_key_exchange()
2552 tkey = s->s3->tmp.ecdh; in ssl3_get_client_key_exchange()
2668 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_get_client_key_exchange()
2669 s->s3->tmp.ecdh = NULL; in ssl3_get_client_key_exchange()