Searched refs:dhp (Results 1 – 2 of 2) sorted by relevance
33 DHParameters dhp = param.getParameters(); in generateKeyPair() local35 BigInteger x = helper.calculatePrivate(dhp, param.getRandom()); in generateKeyPair()36 BigInteger y = helper.calculatePublic(dhp, x); in generateKeyPair()39 new DHPublicKeyParameters(y, dhp), in generateKeyPair()40 new DHPrivateKeyParameters(x, dhp)); in generateKeyPair()
1241 DH *dh = NULL, *dhp; in ssl3_send_server_key_exchange() local1283 dhp = cert->dh_tmp; in ssl3_send_server_key_exchange()1284 if (dhp == NULL && s->cert->dh_tmp_cb != NULL) { in ssl3_send_server_key_exchange()1285 dhp = s->cert->dh_tmp_cb(s, 0, 1024); in ssl3_send_server_key_exchange()1287 if (dhp == NULL) { in ssl3_send_server_key_exchange()1299 dh = DHparams_dup(dhp); in ssl3_send_server_key_exchange()