Home
last modified time | relevance | path

Searched refs:pub2 (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Deaytest.c932 vchar_t p2, *pub2, *priv2, *gxy2; local
951 if (eay_dh_generate(&p2, 2, 96, &pub2, &priv2) < 0) {
956 printf("public key for user 2 = \n"); PVDUMP(pub2);
961 eay_dh_compute(&p1, 2, pub1, priv1, pub2, &gxy1);
967 eay_dh_compute(&p2, 2, pub2, priv2, pub1, &gxy2);
976 vfree(pub2);
H A Dcrypto_openssl.c2364 eay_dh_compute(prime, ig, pub, priv, pub2, key) in eay_dh_compute() argument
2365 vchar_t *prime, *pub, *priv, *pub2, **key; in eay_dh_compute()
2376 if (eay_v2bn(&dh_pub, pub2) < 0)
2390 DH_set_length(dh, pub2->l * 8);
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dectest.c2712 unsigned char *pub1 = NULL , *pub2 = NULL; in custom_params_test() local
2857 || !TEST_ptr(pub2 = OPENSSL_malloc(bsize)) in custom_params_test()
2860 pub2, bsize, ctx), bsize)) in custom_params_test()
2915 pub2, bsize)) in custom_params_test()
2958 OPENSSL_free(pub2); in custom_params_test()