Home
last modified time | relevance | path

Searched refs:dhp (Results 1 – 2 of 2) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHBasicKeyPairGenerator.java33 DHParameters dhp = param.getParameters(); in generateKeyPair() local
35 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()
/external/boringssl/src/ssl/
Ds3_srvr.c1241 DH *dh = NULL, *dhp; in ssl3_send_server_key_exchange() local
1283 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()