Home | History | Annotate | Download | only in ssl

Lines Matching defs:ecdh

414 			/* Check if it is anon DH or anon ECDH, */
470 * ECDH-anon or ECDHE. In other cases, the
607 /* For the ECDH ciphersuites when
608 * the client sends its ECDH pub key in
916 if (s->s3->tmp.ecdh != NULL)
918 EC_KEY_free(s->s3->tmp.ecdh);
919 s->s3->tmp.ecdh = NULL;
1594 EC_KEY *ecdh=NULL, *ecdhp;
1727 if (s->s3->tmp.ecdh != NULL)
1733 /* Duplicate the ECDH structure. */
1739 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL)
1745 s->s3->tmp.ecdh=ecdh;
1746 if ((EC_KEY_get0_public_key(ecdh) == NULL) ||
1747 (EC_KEY_get0_private_key(ecdh) == NULL) ||
1750 if(!EC_KEY_generate_key(ecdh))
1757 if (((group = EC_KEY_get0_group(ecdh)) == NULL) ||
1758 (EC_KEY_get0_public_key(ecdh) == NULL) ||
1759 (EC_KEY_get0_private_key(ecdh) == NULL))
1772 /* XXX: For now, we only support ephemeral ECDH
1789 EC_KEY_get0_public_key(ecdh),
1804 EC_KEY_get0_public_key(ecdh),
1817 * generic) curves in ECDH ephemeral key exchanges.
2560 /* initialize structures for server's ECDH key pair */
2579 tkey = s->s3->tmp.ecdh;
2616 * authentication using ECDH certificates
2623 * the two ECDH shares are for the same
2695 EC_KEY_free(s->s3->tmp.ecdh);
2696 s->s3->tmp.ecdh = NULL;