Lines Matching refs:ecdh
416 /* Check if it is anon DH or anon ECDH, */
474 * ECDH-anon or ECDHE. In other cases, the
615 /* For the ECDH ciphersuites when
616 * the client sends its ECDH pub key in
935 if (s->s3->tmp.ecdh != NULL)
937 EC_KEY_free(s->s3->tmp.ecdh);
938 s->s3->tmp.ecdh = NULL;
1621 EC_KEY *ecdh=NULL, *ecdhp;
1770 if (s->s3->tmp.ecdh != NULL)
1776 /* Duplicate the ECDH structure. */
1782 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL)
1788 s->s3->tmp.ecdh=ecdh;
1789 if ((EC_KEY_get0_public_key(ecdh) == NULL) ||
1790 (EC_KEY_get0_private_key(ecdh) == NULL) ||
1793 if(!EC_KEY_generate_key(ecdh))
1800 if (((group = EC_KEY_get0_group(ecdh)) == NULL) ||
1801 (EC_KEY_get0_public_key(ecdh) == NULL) ||
1802 (EC_KEY_get0_private_key(ecdh) == NULL))
1815 /* XXX: For now, we only support ephemeral ECDH
1832 EC_KEY_get0_public_key(ecdh),
1847 EC_KEY_get0_public_key(ecdh),
1860 * generic) curves in ECDH ephemeral key exchanges.
2711 /* initialize structures for server's ECDH key pair */
2730 tkey = s->s3->tmp.ecdh;
2767 * authentication using ECDH certificates
2774 * the two ECDH shares are for the same
2846 EC_KEY_free(s->s3->tmp.ecdh);
2847 s->s3->tmp.ecdh = NULL;