Home | History | Annotate | Download | only in ssl

Lines Matching defs:ecdh

633 				/* For the ECDH ciphersuites when
634 * the client sends its ECDH pub key in
1035 EC_KEY *ecdh=NULL, *ecdhp;
1168 if (s->s3->tmp.ecdh != NULL)
1170 EC_KEY_free(s->s3->tmp.ecdh);
1175 /* Duplicate the ECDH structure. */
1181 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL)
1187 s->s3->tmp.ecdh=ecdh;
1188 if ((EC_KEY_get0_public_key(ecdh) == NULL) ||
1189 (EC_KEY_get0_private_key(ecdh) == NULL) ||
1192 if(!EC_KEY_generate_key(ecdh))
1199 if (((group = EC_KEY_get0_group(ecdh)) == NULL) ||
1200 (EC_KEY_get0_public_key(ecdh) == NULL) ||
1201 (EC_KEY_get0_private_key(ecdh) == NULL))
1214 /* XXX: For now, we only support ephemeral ECDH
1231 EC_KEY_get0_public_key(ecdh),
1246 EC_KEY_get0_public_key(ecdh),
1259 * generic) curves in ECDH ephemeral key exchanges.