Home | History | Annotate | Download | only in ssl

Lines Matching refs:ecdh

635 				/* For the ECDH ciphersuites when
636 * the client sends its ECDH pub key in
1052 EC_KEY *ecdh=NULL, *ecdhp;
1185 if (s->s3->tmp.ecdh != NULL)
1187 EC_KEY_free(s->s3->tmp.ecdh);
1192 /* Duplicate the ECDH structure. */
1198 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL)
1204 s->s3->tmp.ecdh=ecdh;
1205 if ((EC_KEY_get0_public_key(ecdh) == NULL) ||
1206 (EC_KEY_get0_private_key(ecdh) == NULL) ||
1209 if(!EC_KEY_generate_key(ecdh))
1216 if (((group = EC_KEY_get0_group(ecdh)) == NULL) ||
1217 (EC_KEY_get0_public_key(ecdh) == NULL) ||
1218 (EC_KEY_get0_private_key(ecdh) == NULL))
1231 /* XXX: For now, we only support ephemeral ECDH
1248 EC_KEY_get0_public_key(ecdh),
1263 EC_KEY_get0_public_key(ecdh),
1276 * generic) curves in ECDH ephemeral key exchanges.