Home
last modified time | relevance | path

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

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Deaytest.c931 vchar_t p1, *pub1, *priv1, *gxy1; local
944 if (eay_dh_generate(&p1, 2, 96, &pub1, &priv1) < 0) {
949 printf("public key for user 1 = \n"); PVDUMP(pub1);
961 eay_dh_compute(&p1, 2, pub1, priv1, pub2, &gxy1);
967 eay_dh_compute(&p2, 2, pub2, priv2, pub1, &gxy2);
975 vfree(pub1);
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dectest.c2712 unsigned char *pub1 = NULL , *pub2 = NULL; in custom_params_test() local
2846 || !TEST_ptr(pub1 = OPENSSL_malloc(bsize)) in custom_params_test()
2849 pub1, bsize, ctx), bsize)) in custom_params_test()
2901 pub1, bsize)) in custom_params_test()
2957 OPENSSL_free(pub1); in custom_params_test()