Searched refs:pkey2 (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_pkey.c | 320 IN const ib_net16_t * pkey2) 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 351 pkey2 = cl_map_get(&(osm_physp_get_pkey_tbl(p_physp2))->keys, in osm_physp_share_this_pkey() 353 if (!pkey2) in osm_physp_share_this_pkey() 354 pkey2 = cl_map_get(&(osm_physp_get_pkey_tbl(p_physp2))->keys, in osm_physp_share_this_pkey() 359 pkey2 = cl_map_get(&(osm_physp_get_pkey_tbl(p_physp2))->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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/ |
H A D | zfs_load-key_location.ksh | 56 log_must cp $key_location /$TESTPOOL/pkey2 64 log_must zfs load-key -L file:///$TESTPOOL/pkey2 $TESTPOOL/$TESTFS1
|
/freebsd/crypto/openssl/test/ |
H A D | endecode_test.c | 160 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 D | evp_extra_test.c | 1803 EVP_PKEY *pkey2 = NULL; in test_EVP_PKCS82PKEY_wrong_tag() local 1820 || !TEST_ptr(pkey2 = EVP_PKCS82PKEY(p8inf)) in test_EVP_PKCS82PKEY_wrong_tag() 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() 3132 || !TEST_int_eq(EVP_PKEY_get_id(pkey2), EVP_PKEY_DH)) in test_EVP_PKEY_set1_DH() 3135 if (!TEST_true(EVP_PKEY_get_octet_string_param(pkey2, in test_EVP_PKEY_set1_DH() 3147 EVP_PKEY_free(pkey2); in test_EVP_PKEY_set1_DH() [all …]
|
H A D | evp_extra_test2.c | 1035 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 D | ectest.c | 2709 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()
|