Lines Matching defs:ecdh
486 BIO_printf(bio_err," -named_curve arg - Elliptic curve name to use for ephemeral ECDH keys.\n" \
534 BIO_printf(bio_err," -no_ecdhe - Disable ephemeral ECDH\n");
1694 EC_KEY *ecdh=NULL;
1706 ecdh = EC_KEY_new_by_curve_name(nid);
1707 if (ecdh == NULL)
1715 if (ecdh != NULL)
1717 BIO_printf(bio_s_out,"Setting temp ECDH parameters\n");
1721 BIO_printf(bio_s_out,"Using default temp ECDH parameters\n");
1722 ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
1723 if (ecdh == NULL)
1731 SSL_CTX_set_tmp_ecdh(ctx,ecdh);
1734 SSL_CTX_set_tmp_ecdh(ctx2,ecdh);
1736 EC_KEY_free(ecdh);