Home
last modified time | relevance | path

Searched refs:pkey2 (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dosm_pkey.c320 IN const ib_net16_t * pkey2) in match_pkey() argument
340 ib_net16_t *pkey1, *pkey2; in osm_physp_share_this_pkey() local
353 if (!pkey2) 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
384 pkey2 = (ib_net16_t *) cl_map_obj(map_iter2); in osm_physp_find_common_pkey()
386 if (match_pkey(pkey1, pkey2)) in osm_physp_find_common_pkey()
425 if (ib_pkey_is_full_member(*pkey2)) { in osm_physp_find_common_pkey()
430 if (match_pkey(pkey1, pkey2)) in osm_physp_find_common_pkey()
458 if (!ib_pkey_is_full_member(*pkey2)) { in osm_physp_find_common_pkey()
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_location.ksh56 log_must cp $key_location /$TESTPOOL/pkey2
64 log_must zfs load-key -L file:///$TESTPOOL/pkey2 $TESTPOOL/$TESTFS1
/freebsd-14.2/crypto/openssl/test/
H A Dendecode_test.c160 EVP_PKEY *pkey2 = NULL; in test_encode_decode() local
176 if (TEST_false(decode_cb(file, line, (void **)&pkey2, encoded, in test_encode_decode()
185 || !TEST_true(decode_cb(file, line, (void **)&pkey2, encoded, encoded_len, in test_encode_decode()
195 || !TEST_true(encode_cb(file, line, &encoded2, &encoded2_len, pkey2, selection, in test_encode_decode()
200 if (!TEST_int_eq(EVP_PKEY_parameters_eq(pkey, pkey2), 1) in test_encode_decode()
205 if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1) in test_encode_decode()
231 EVP_PKEY_free(pkey2); in test_encode_decode()
H A Devp_extra_test.c1803 EVP_PKEY *pkey2 = NULL; in test_EVP_PKCS82PKEY_wrong_tag() local
1828 EVP_PKEY_free(pkey2); in test_EVP_PKCS82PKEY_wrong_tag()
3090 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in test_EVP_PKEY_set1_DH() local
3113 pkey2 = EVP_PKEY_new(); in test_EVP_PKEY_set1_DH()
3117 || !TEST_ptr(pkey2) in test_EVP_PKEY_set1_DH()
3131 if (!TEST_true(EVP_PKEY_set1_DH(pkey2, noqdh)) in test_EVP_PKEY_set1_DH()
3147 EVP_PKEY_free(pkey2); in test_EVP_PKEY_set1_DH()
3593 EVP_PKEY *pkey2 = NULL; in test_ecpub() local
3622 if (!TEST_ptr((pkey2 = EVP_PKEY_new())) in test_ecpub()
3631 if (!TEST_int_eq(EVP_PKEY_eq(pkey, pkey2), 1)) in test_ecpub()
[all …]
H A Devp_extra_test2.c1035 EVP_PKEY *pkey = NULL, *pkey2 = NULL; in test_dsa_fromdata_digest_prop() local
1055 || !TEST_int_eq(EVP_PKEY_paramgen(gctx, &pkey2), expected)) in test_dsa_fromdata_digest_prop()
1060 EVP_PKEY_free(pkey2); in test_dsa_fromdata_digest_prop()
H A Dectest.c2709 EVP_PKEY *pkey1 = NULL, *pkey2 = NULL; in custom_params_test() local
2868 if(!TEST_ptr(pkey2 = EVP_PKEY_new()) in custom_params_test()
2869 || !TEST_int_eq(EVP_PKEY_assign_EC_KEY(pkey2, eckey2), 1)) in custom_params_test()
2876 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test()
2881 if (!TEST_ptr(pctx2 = EVP_PKEY_CTX_new(pkey2, NULL)) in custom_params_test()
2925 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey2, EVP_PKEY_PUBLIC_KEY, in custom_params_test()
2933 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test()
2962 EVP_PKEY_free(pkey2); in custom_params_test()