/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 195 if (pkey) { in getkeys_nis() 202 (void) strcpy(pkey, keyval); in getkeys_nis() 276 if (pkey) { in getkeys_files() 285 (void) strcpy(pkey, mval); in getkeys_files() 424 char *pkey, /* out */ in getkeys_ldap_g() argument 445 arg.key.pkey.name = netname; in getkeys_ldap_g() 475 if (pkey) { in getkeys_ldap_g() 482 (void) strcpy(pkey, keyval); in getkeys_ldap_g() 550 char *pkey, /* out */ in __getpublickey_cached_g() argument 561 if (!netname || !pkey) in __getpublickey_cached_g() [all …]
|
H A D | gen_dhkeys.c | 166 __gen_dhkeys_g(char *pkey, /* out */ in __gen_dhkeys_g() argument 174 if (! pkey || ! skey || ! pass) in __gen_dhkeys_g() 178 __gen_dhkeys(pkey, skey, pass); in __gen_dhkeys_g() 186 (*dlfp)(pkey, skey, pass); /* void */ in __gen_dhkeys_g()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | zfs_set_keylocation.ksh | 59 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS 60 log_mustnot zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS 64 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1 67 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS1 69 log_must zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1 78 log_must rm /$TESTPOOL/pkey 87 log_mustnot zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child 88 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 797 *pkey = NULL; in readAltFormatPrivateKey() 970 &pkey); in openssl_load_key() 1010 return (pkey); in openssl_load_key() 2880 pkey = NULL; in fetch_key() 3352 return (pkey); in raw_key_to_pkey() 3376 pkey = NULL; in find_matching_key() 3380 return (pkey); in find_matching_key() 3480 if (pkey) in local_export_pk12() 3720 if (pkey != NULL && !X509_check_private_key(x, pkey)) { in extract_pem() 3956 pkey = NULL; in openssl_parse_bag() [all …]
|
H A D | compat.c | 230 EVP_PKEY_get0_DSA(EVP_PKEY *pkey) in EVP_PKEY_get0_DSA() argument 232 if (pkey->type != EVP_PKEY_DSA) in EVP_PKEY_get0_DSA() 234 return (pkey->pkey.dsa); in EVP_PKEY_get0_DSA() 439 EVP_PKEY_get0_RSA(EVP_PKEY *pkey) in EVP_PKEY_get0_RSA() argument 441 if (pkey->type != EVP_PKEY_RSA) { in EVP_PKEY_get0_RSA() 444 return (pkey->pkey.rsa); in EVP_PKEY_get0_RSA()
|
H A D | compat.h | 40 DSA *EVP_PKEY_get0_DSA(EVP_PKEY *pkey); 73 RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
|
/illumos-gate/usr/src/cmd/ibd_upgrade/ |
H A D | ibd_upgrade.sh | 40 pkey= 56 pkey=0x$2 131 -o "$pkey" = "0x0" -o "$pkey" = "0x" ]; then 151 do_cmd "dladm create-part -f -l $2 -P $pkey $partition_name"
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getkeyent.c | 67 char *keytype = (char *)argp->key.pkey.keytype; in _nss_ldap_key2str() 71 char *buffer, *pkey, *skey; in _nss_ldap_key2str() local 96 pkey = *pkey_array + keytypelen; in _nss_ldap_key2str() 124 len = strlen(pkey) + strlen(skey) + 2; in _nss_ldap_key2str() 135 (void) snprintf(buffer, len, "%s:%s", pkey, skey); in _nss_ldap_key2str() 173 if (_ldap_filter_name(netname, argp->key.pkey.name, sizeof (netname)) in getkeys()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_des.c | 104 netobj pkey; in authdes_seccreate() local 114 pkey.n_bytes = (char *)pkey_data; in authdes_seccreate() 115 pkey.n_len = (uint_t)strlen((char *)pkey_data) + 1; in authdes_seccreate() 116 return (authdes_pk_seccreate(servername, &pkey, win, timehost, in authdes_seccreate() 127 authdes_pk_seccreate(const char *servername, netobj *pkey, uint_t window, in authdes_pk_seccreate() argument 154 (void) memcpy(ad->ad_pkey, pkey->n_bytes, pkey->n_len); in authdes_pk_seccreate() 404 netobj pkey; in authdes_refresh() local 420 pkey.n_bytes = (char *)(ad->ad_pkey); in authdes_refresh() 421 pkey.n_len = (uint_t)strlen((char *)ad->ad_pkey) + 1; in authdes_refresh() 422 if (key_encryptsession_pk(ad->ad_servername, &pkey, &ad->ad_xkey) < 0) { in authdes_refresh()
|
H A D | key_call.c | 623 const char *pkey, in key_setnet_g_ext() argument 644 arg.st_pub_key.keybuf3_val = (char *)pkey; in key_setnet_g_ext() 696 const char *pkey, keylen_t pkeylen, algtype_t algtype) in key_setnet_g() argument 698 return (key_setnet_g_ext(netname, skey, skeylen, pkey, pkeylen, in key_setnet_g() 707 const char *pkey, keylen_t pkeylen, algtype_t algtype) in key_setnet_g_ruid() argument 709 return (key_setnet_g_ext(netname, skey, skeylen, pkey, pkeylen, in key_setnet_g_ruid() 714 key_get_conv(char *pkey, des_block *deskey) in key_get_conv() argument 718 if (!key_call((rpcproc_t)KEY_GET_CONV, xdr_keybuf, pkey, in key_get_conv() 731 const char *pkey, in key_get_conv_g() argument 742 return (key_get_conv((char *)pkey, deskey)); in key_get_conv_g() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/ |
H A D | fakensl.c | 42 int algtype, char *pkey, size_t pkeylen, int *cached) in __getpublickey_cached_g() argument 44 return (getpublickey(remotename, pkey)); in __getpublickey_cached_g() 51 int algtype, char *pkey, size_t pkeylen) in getpublickey_g() argument 53 return (getpublickey(remotename, pkey)); in getpublickey_g()
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 323 ib_pkey_t pkey; in ibnex_config_obp_args() local 349 devname, &pkey, &port_num) != IBNEX_SUCCESS) { in ibnex_config_obp_args() 387 rval = ibnex_get_dip_from_guid(port_guid, index, pkey, &cdip); in ibnex_config_obp_args() 395 if (pkey == port_attr->pa_pkey_tbl[ii].pt_pkey) { in ibnex_config_obp_args() 397 index, IBNEX_VPPA_COMMSVC_NODE, pkey, &rval, in ibnex_config_obp_args() 418 char *devname, ib_pkey_t *pkey, uint8_t *port) in ibnex_prom_devname_to_pkey_n_portnum() argument 434 *pkey = ibnex_str2hex(tmp, (tmp1 - tmp), &ret); in ibnex_prom_devname_to_pkey_n_portnum() 486 ib_pkey_t pkey; in ibnex_hca_bus_config_one() local 549 &index, &pkey, &port_num) != IBNEX_SUCCESS) { in ibnex_hca_bus_config_one() 556 if ((pkey != 0) && (port_num != 0)) { in ibnex_hca_bus_config_one()
|
H A D | ibnex.c | 1484 ib_pkey_t pkey; in ibnex_create_vppa_nodes() local 1504 if (IBNEX_INVALID_PKEY(pkey)) { in ibnex_create_vppa_nodes() 1614 ib_pkey_t pkey; in ibnex_config_port_node() local 1669 if (pkey == 0 && port_num != 0) { in ibnex_config_port_node() 1741 if (*pkey == 0 && *port_num != 0) { in ibnex_get_pkey_commsvc_index_portnum() 2731 (node_pkey == pkey)) { in ibnex_get_node_and_dip_from_guid() 2781 (node_pkey == pkey)) { in ibnex_get_dip_from_guid() 2992 index, pkey); in ibnex_commsvc_initnode() 3018 index, pkey); in ibnex_commsvc_initnode() 3382 int index, ib_pkey_t pkey) in ibnex_is_node_data_present() argument [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | dump.c | 696 &pkey)) && 709 if (!pkey && akey) { 710 pkey = akey; 739 (krb5_int32) pkey->key_data_kvno, 1789 krb5_key_data *pkey, *akey; local 1807 pkey = &dbent.key_data[0]; 1829 (pkey->key_data_contents[0] = 1835 (pkey->key_data_contents[1] = 1898 pkey->key_data_kvno = tmpint1; 2013 pkey->key_data_ver = (pkey->key_data_type[1] || pkey->key_data_length[1]) ? [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_hca.c | 1338 ib_pkey_t pkey, uint16_t *pkey_ix) in ibtl_pkey2index() argument 1345 hca_devp, port_num, pkey); in ibtl_pkey2index() 1349 if ((pkey == IB_PKEY_INVALID_FULL) || in ibtl_pkey2index() 1350 (pkey == IB_PKEY_INVALID_LIMITED)) in ibtl_pkey2index() 1387 uint16_t pkey_ix, ib_pkey_t *pkey) in ibtl_index2pkey() argument 1413 if ((*pkey == IB_PKEY_INVALID_FULL) || in ibtl_index2pkey() 1414 (*pkey == IB_PKEY_INVALID_LIMITED)) in ibtl_index2pkey() 1441 hca_hdl, port_num, pkey); in ibt_pkey2index() 1473 hca_guid, port_num, pkey); in ibt_pkey2index_byguid() 1507 ib_pkey_t *pkey) in ibt_index2pkey() argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | ib_addr.h | 72 uint16_t pkey) in ib_addr_set_pkey() argument 74 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey() 75 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_load-key/ |
H A D | zfs_load-key_all.ksh | 51 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1 54 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/zvol 58 -O keylocation=file:///$TESTPOOL/pkey $TESTPOOL1 $DISK2
|
H A D | zfs_load-key_recursive.ksh | 50 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1 53 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unload-key/ |
H A D | zfs_unload-key_all.ksh | 52 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1 56 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/zvol 60 -O keylocation=file:///$TESTPOOL/pkey $TESTPOOL1 $DISK2
|
H A D | zfs_unload-key_recursive.ksh | 52 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1 54 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
|
/illumos-gate/usr/src/uts/common/sys/ib/ibnex/ |
H A D | ibnex.h | 275 #define IBNEX_INVALID_PKEY(pkey) \ argument 276 (((pkey) == IB_PKEY_INVALID_FULL) || \ 277 ((pkey) == IB_PKEY_INVALID_LIMITED))
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tsd.c | 49 thr_keycreate(thread_key_t *pkey, void (*destructor)(void *)) in thr_keycreate() argument 126 *pkey = tsdm->tsdm_nused; in thr_keycreate() 138 pthread_key_create(pthread_key_t *pkey, void (*destructor)(void *)) in pthread_key_create() argument 140 return (thr_keycreate(pkey, destructor)); in pthread_key_create()
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibdm/ |
H A D | ibdm_impl.h | 374 #define IBDM_INVALID_PKEY(pkey) \ argument 375 (((pkey) == IB_PKEY_INVALID_FULL) || \ 376 ((pkey) == IB_PKEY_INVALID_LIMITED))
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 427 ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, in dladm_part_create() argument 438 pattr.dia_pkey = pkey; in dladm_part_create() 615 ib_pkey_t pkey; in i_dladm_part_up() local 659 pkey = (ib_pkey_t)u64; in i_dladm_part_up() 676 pattr.dia_pkey = pkey; in i_dladm_part_up()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | generic_key.c | 238 __generic_common_dhkeys(char *pkey, /* Public key of remote */ in __generic_common_dhkeys() argument 246 MINT *pk = mp_xtom(pkey); in __generic_common_dhkeys()
|