Searched refs:pub2 (Results 1 – 2 of 2) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | eaytest.c | 931 vchar_t p2, *pub2, *priv2, *gxy2; local 950 if (eay_dh_generate(&p2, 2, 96, &pub2, &priv2) < 0) { 955 printf("public key for user 2 = \n"); PVDUMP(pub2); 960 eay_dh_compute(&p1, 2, pub1, priv1, pub2, &gxy1); 966 eay_dh_compute(&p2, 2, pub2, priv2, pub1, &gxy2); 975 vfree(pub2);
|
D | crypto_openssl.c | 2511 eay_dh_compute(prime, g, pub, priv, pub2, key) in eay_dh_compute() argument 2512 vchar_t *prime, *pub, *priv, *pub2, **key; in eay_dh_compute() 2522 if (eay_v2bn(&dh_pub, pub2) < 0) 2535 dh->priv_length = pub2->l * 8; 2537 dh->length = pub2->l * 8;
|