Lines Matching refs:ecdh
1035 EC_KEY *ecdh=NULL, *ecdhp; in dtls1_send_server_key_exchange() local
1168 if (s->s3->tmp.ecdh != NULL) in dtls1_send_server_key_exchange()
1170 EC_KEY_free(s->s3->tmp.ecdh); in dtls1_send_server_key_exchange()
1181 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in dtls1_send_server_key_exchange()
1187 s->s3->tmp.ecdh=ecdh; in dtls1_send_server_key_exchange()
1188 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange()
1189 (EC_KEY_get0_private_key(ecdh) == NULL) || in dtls1_send_server_key_exchange()
1192 if(!EC_KEY_generate_key(ecdh)) in dtls1_send_server_key_exchange()
1199 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in dtls1_send_server_key_exchange()
1200 (EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange()
1201 (EC_KEY_get0_private_key(ecdh) == NULL)) in dtls1_send_server_key_exchange()
1231 EC_KEY_get0_public_key(ecdh), in dtls1_send_server_key_exchange()
1246 EC_KEY_get0_public_key(ecdh), in dtls1_send_server_key_exchange()