Searched refs:pkey1 (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_pkey.c | 319 static boolean_t match_pkey(IN const ib_net16_t * pkey1, in match_pkey() argument 324 if (!(ib_pkey_is_full_member(*pkey1) || ib_pkey_is_full_member(*pkey2))) in match_pkey() 329 if (ib_pkey_get_base(*pkey1) != ib_pkey_get_base(*pkey2)) in match_pkey() 340 ib_net16_t *pkey1, *pkey2; in osm_physp_share_this_pkey() local 346 pkey1 = cl_map_get(&(osm_physp_get_pkey_tbl(p_physp1))->keys, in osm_physp_share_this_pkey() 348 if (!pkey1) in osm_physp_share_this_pkey() 349 pkey1 = cl_map_get(&(osm_physp_get_pkey_tbl(p_physp1))->keys, in osm_physp_share_this_pkey() 357 pkey1 = cl_map_get(&(osm_physp_get_pkey_tbl(p_physp1))->keys, 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 [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.c | 1560 EVP_PKEY *pkey, *pkey1; /* private keys */ in gen_mvkey() 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() 1545 EVP_PKEY *pkey, *pkey1; /* private keys */ gen_mvkey() local
|
/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 | 3090 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in test_EVP_PKEY_set1_DH() local 3112 pkey1 = EVP_PKEY_new(); in test_EVP_PKEY_set1_DH() 3116 || !TEST_ptr(pkey1) in test_EVP_PKEY_set1_DH() 3122 if (!TEST_true(EVP_PKEY_set1_DH(pkey1, x942dh)) in test_EVP_PKEY_set1_DH() 3123 || !TEST_int_eq(EVP_PKEY_get_id(pkey1), EVP_PKEY_DHX)) in test_EVP_PKEY_set1_DH() 3126 if (!TEST_true(EVP_PKEY_get_bn_param(pkey1, OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_set1_DH() 3146 EVP_PKEY_free(pkey1); in test_EVP_PKEY_set1_DH()
|