Searched refs:pub2 (Results 1 – 3 of 3) sorted by relevance
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | eaytest.c | 932 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);
|
| D | crypto_openssl.c | 2246 vchar_t *pub2, vchar_t **key) in eay_dh_compute() argument 2256 if (eay_v2bn(&dh_pub, pub2) < 0) in eay_dh_compute() 2270 DH_set_length(dh, pub2->l * 8); in eay_dh_compute()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/test/ |
| D | ectest.c | 2712 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()
|