Searched refs:pkey1 (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_pkey.c | 340 ib_net16_t *pkey1, *pkey2; in osm_physp_share_this_pkey() local 348 if (!pkey1) in osm_physp_share_this_pkey() 362 return (pkey1 && pkey2 && match_pkey(pkey1, pkey2)); in osm_physp_share_this_pkey() 369 ib_net16_t *pkey1, *pkey2; in osm_physp_find_common_pkey() local 386 if (match_pkey(pkey1, pkey2)) in osm_physp_find_common_pkey() 387 return *pkey1; in osm_physp_find_common_pkey() 430 if (match_pkey(pkey1, pkey2)) in osm_physp_find_common_pkey() 431 return *pkey1; in osm_physp_find_common_pkey() 454 if (ib_pkey_is_full_member(*pkey1)) { in osm_physp_find_common_pkey() 463 if (match_pkey(pkey1, pkey2)) in osm_physp_find_common_pkey() [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.c | 1560 EVP_PKEY *pkey, *pkey1; /* private keys */ in gen_mvkey() local 1898 pkey1 = EVP_PKEY_new(); in gen_mvkey() 1899 EVP_PKEY_assign_DSA(pkey1, dsa2); in gen_mvkey() 1900 PEM_write_PKCS8PrivateKey(str, pkey1, cipher, NULL, 0, NULL, in gen_mvkey() 1902 evpars[i++] = pkey1; in gen_mvkey() 1921 pkey1 = EVP_PKEY_new(); in gen_mvkey() 1922 EVP_PKEY_set1_DSA(pkey1, sdsa); in gen_mvkey() 1923 PEM_write_PKCS8PrivateKey(str, pkey1, cipher, NULL, 0, in gen_mvkey() 1925 evpars[i++] = pkey1; in gen_mvkey()
|
/freebsd/crypto/openssl/test/ |
H A D | ectest.c | 2709 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in custom_params_test() local 2864 if(!TEST_ptr(pkey1 = EVP_PKEY_new()) in custom_params_test() 2865 || !TEST_int_eq(EVP_PKEY_assign_EC_KEY(pkey1, eckey1), 1)) in custom_params_test() 2874 if (!TEST_ptr(pctx1 = EVP_PKEY_CTX_new(pkey1, NULL)) in custom_params_test() 2883 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx2, pkey1), 1) in custom_params_test() 2923 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR, in custom_params_test() 2931 if (!TEST_ptr(pctx1 = EVP_PKEY_CTX_new(pkey1, NULL)) in custom_params_test() 2961 EVP_PKEY_free(pkey1); in custom_params_test()
|
H A D | evp_extra_test.c | 3045 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in test_EVP_PKEY_set1_DH() local 3067 pkey1 = EVP_PKEY_new(); in test_EVP_PKEY_set1_DH() 3071 || !TEST_ptr(pkey1) in test_EVP_PKEY_set1_DH() 3077 if (!TEST_true(EVP_PKEY_set1_DH(pkey1, x942dh)) in test_EVP_PKEY_set1_DH() 3078 || !TEST_int_eq(EVP_PKEY_get_id(pkey1), EVP_PKEY_DHX)) in test_EVP_PKEY_set1_DH() 3081 if (!TEST_true(EVP_PKEY_get_bn_param(pkey1, OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_set1_DH() 3101 EVP_PKEY_free(pkey1); in test_EVP_PKEY_set1_DH()
|