/illumos-gate/usr/src/common/net/wanboot/ |
H A D | p12auxutl.c | 112 EVP_PKEY *pkey = NULL; local 259 pkey = sk_EVP_PKEY_value(pkeys, i); 262 if ((p8 = EVP_PKEY2PKCS8(pkey)) == NULL) { 277 len = sunw_get_pkey_fname(GETDO_COPY, pkey, 289 len = sunw_get_pkey_localkeyid(GETDO_COPY, pkey,
|
H A D | p12access.c | 97 * pkey - EVP_PKEY formatted private key 104 sunw_use_pkey(SSL_CTX *ctx, EVP_PKEY *pkey) argument 107 if (ctx == NULL || pkey == NULL) { 112 if (SSL_CTX_use_PrivateKey(ctx, pkey) != 1) { 250 EVP_PKEY *pkey = NULL; local 262 ret = p12_doparse(p12, passwd, DO_UNMATCHING, &pkey, NULL, 264 if (ret > 0 && pkey != NULL) { 265 if (sunw_use_pkey(ctx, pkey) != 1) { 281 if (ret == -1 && pkey != NULL) { 282 sunw_evp_pkey_free(pkey); 410 p12_doparse(PKCS12 *p12, char *passwd, int matchty, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca) argument [all...] |
H A D | p12auxpars.c | 151 STACK_OF(EVP_PKEY) **pkey, STACK_OF(X509) **certs); 158 * or it should point to a valid STACK_OF(X509) structure. pkey and cert can 172 * pkey - Points to location pointing to the private key returned. 209 int keyid_len, char *name_str, EVP_PKEY **pkey, X509 **cert, 222 if (pkey) 223 *pkey = NULL; 265 name_str, pkey, cert, ca); 273 if (pkey && *pkey) { 274 sunw_evp_pkey_free(*pkey); 208 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid, int keyid_len, char *name_str, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca) argument 319 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid, int kstr_len, char *name_str, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca) argument 498 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey, STACK_OF(X509) **certs) argument 649 EVP_PKEY *pkey = NULL; local [all...] |
H A D | auxutil.c | 292 * pkey - Points at a location where the address of the matching private 303 * A pkey structure has a stack of attributes. 319 * A pointer to cert and/or pkey which matches the name or keyid is stored 328 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, argument 344 chkcerts = (cert != NULL || pkey != NULL) && cl != NULL; 401 if (pkey != NULL && kl != NULL) { 403 * Looking for pkey to match a cert? If so, assume that 412 if (pkey != NULL) 413 *pkey = sk_EVP_PKEY_delete(kl, k); 428 if (pkey ! 495 get_key_cert(int n, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, STACK_OF(X509) *cl, X509 **cert) argument [all...] |
H A D | p12misc.c | 224 * pkey - Entry which potentially has attributes to be freed. 230 sunw_evp_pkey_free(EVP_PKEY *pkey) argument 232 if (pkey != NULL) { 233 if (pkey->attributes != NULL) { 234 sk_X509_ATTRIBUTE_pop_free(pkey->attributes, 236 pkey->attributes = NULL; 238 EVP_PKEY_free(pkey); 249 * pkey - Points to a private key to set the keyidstr in. 262 sunw_set_localkeyid(const char *keyid_str, int keyid_len, EVP_PKEY *pkey, argument 278 if (pkey ! 349 sunw_get_pkey_localkeyid(getdo_actions_t dowhat, EVP_PKEY *pkey, char **keyid_str, int *keyid_len) argument 414 sunw_get_pkey_fname(getdo_actions_t dowhat, EVP_PKEY *pkey, char **fname) argument 671 sunw_check_keys(X509 *cert, EVP_PKEY *pkey) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | ib_addr.h | 72 uint16_t pkey) 74 dev_addr->broadcast[8] = pkey >> 8; 75 dev_addr->broadcast[9] = (unsigned char) pkey; 71 ib_addr_set_pkey(struct rdma_dev_addr *dev_addr, uint16_t pkey) argument
|
H A D | ib_user_sa.h | 57 uint16_t pkey; member in struct:ib_user_path_rec
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/ |
H A D | fakensl.c | 44 int algtype, char *pkey, size_t pkeylen, int *cached) 46 return (getpublickey(remotename, pkey)); 53 int algtype, char *pkey, size_t pkeylen) 55 return (getpublickey(remotename, pkey)); 43 __getpublickey_cached_g(const char remotename[MAXNETNAMELEN], int keylen, int algtype, char *pkey, size_t pkeylen, int *cached) argument 52 getpublickey_g(const char remotename[MAXNETNAMELEN], int keylen, int algtype, char *pkey, size_t pkeylen) argument
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getkeyent.c | 69 char *keytype = (char *)argp->key.pkey.keytype; 73 char *buffer, *pkey, *skey; local 98 pkey = *pkey_array + keytypelen; 126 len = strlen(pkey) + strlen(skey) + 2; 137 (void) snprintf(buffer, len, "%s:%s", pkey, skey); 175 if (_ldap_filter_name(netname, argp->key.pkey.name, sizeof (netname))
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | key_call_uid.c | 160 const char *pkey, keylen_t pkeylen, algtype_t algtype, 181 arg.st_pub_key.keybuf3_val = (char *)pkey; 159 key_setnet_g_uid(const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype, uid_t uid, gid_t gid) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | generic_key.c | 240 __generic_common_dhkeys(char *pkey, /* Public key of remote */ argument 248 MINT *pk = mp_xtom(pkey);
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tsd.c | 51 thr_keycreate(thread_key_t *pkey, void (*destructor)(void *)) argument 128 *pkey = tsdm->tsdm_nused; 140 pthread_key_create(pthread_key_t *pkey, void (*destructor)(void *)) argument 142 return (thr_keycreate(pkey, destructor));
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 416 * given in 'physlinkid' with the P_key 'pkey' and return the datalink ID in 418 * partition will be created even if the P_Key 'pkey' does not exist or if the 425 ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, 436 pattr.dia_pkey = pkey; 613 ib_pkey_t pkey; local 657 pkey = (ib_pkey_t)u64; 674 pattr.dia_pkey = pkey; 424 dladm_part_create(dladm_handle_t handle, datalink_id_t physlinkid, ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, dladm_arg_list_t *proplist) argument
|
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | gen_dhkeys.c | 168 __gen_dhkeys_g(char *pkey, /* out */ argument 176 if (! pkey || ! skey || ! pass) 180 __gen_dhkeys(pkey, skey, pass); 188 (*dlfp)(pkey, skey, pass); /* void */
|
H A D | publickey.c | 148 getkeys_nis(int *errp, char *netname, char *pkey, char *skey, char *passwd) argument 195 if (pkey) { 202 (void) strcpy(pkey, keyval); 228 getkeys_files(int *errp, char *netname, char *pkey, char *skey, char *passwd) argument 276 if (pkey) { 285 (void) strcpy(pkey, mval); 310 __getpublickey_cached(char *netname, char *pkey, int *from_cache) argument 312 return (__getpublickey_cached_g(netname, KEYSIZE, 0, pkey, 317 getpublickey(const char *netname, char *pkey) argument 319 return (__getpublickey_cached((char *)netname, pkey, (in 422 getkeys_ldap_g( int *err, char *netname, char *pkey, int pkeylen, char *skey, int skeylen, char *passwd, keylen_t keylen, algtype_t algtype) argument 546 __getpublickey_cached_g(const char netname[], keylen_t keylen, algtype_t algtype, char *pkey, size_t pkeylen, int *from_cache) argument 613 getpublickey_g( const char *netname, int keylen, int algtype, char *pkey, size_t pkeylen) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_des.c | 106 netobj pkey; local 116 pkey.n_bytes = (char *)pkey_data; 117 pkey.n_len = (uint_t)strlen((char *)pkey_data) + 1; 118 return (authdes_pk_seccreate(servername, &pkey, win, timehost, 129 authdes_pk_seccreate(const char *servername, netobj *pkey, uint_t window, argument 156 (void) memcpy(ad->ad_pkey, pkey->n_bytes, pkey->n_len); 406 netobj pkey; local 422 pkey.n_bytes = (char *)(ad->ad_pkey); 423 pkey [all...] |
H A D | svcauth_des.c | 201 netobj pkey; local 234 pkey.n_bytes = pkey_data; 235 pkey.n_len = strlen(pkey_data) + 1; 236 if (key_decryptsession_pk(cred->adc_fullname.name, &pkey,
|
H A D | key_call.c | 611 * both, of skey or pkey may have zero length. If both lengths are 615 * Stores the specified netname/pkey/skey triplet in the keyserv. 625 const char *pkey, 646 arg.st_pub_key.keybuf3_val = (char *)pkey; 698 const char *pkey, keylen_t pkeylen, algtype_t algtype) 700 return (key_setnet_g_ext(netname, skey, skeylen, pkey, pkeylen, 709 const char *pkey, keylen_t pkeylen, algtype_t algtype) 711 return (key_setnet_g_ext(netname, skey, skeylen, pkey, pkeylen, 716 key_get_conv(char *pkey, des_block *deskey) argument 720 if (!key_call((rpcproc_t)KEY_GET_CONV, xdr_keybuf, pkey, 621 key_setnet_g_ext( const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype, int use_ruid) argument 697 key_setnet_g(const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype) argument 708 key_setnet_g_ruid(const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype) argument 732 key_get_conv_g( const char *pkey, keylen_t pkeylen, algtype_t algtype, des_block deskey[], keynum_t keynum ) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/ |
H A D | p12split.c | 527 do_ofile(char *name, EVP_PKEY *pkey, X509 *cert, STACK_OF(X509) *ta) argument 559 if (pkey != NULL && sk_EVP_PKEY_push(klist, pkey) == 0) { 583 * Put the cert and pkey off of the stack so that they won't 595 if (pkey != NULL && sk_EVP_PKEY_num(klist) == 1) {
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 302 * port=x,pkey=y,protocol=ip,<wanboot options> 304 * ibport@<Port#>,<pkey>,<service name> 305 * where pkey = 0 for port communication service nodes 318 ib_pkey_t pkey; local 344 devname, &pkey, &port_num) != IBNEX_SUCCESS) { 382 rval = ibnex_get_dip_from_guid(port_guid, index, pkey, &cdip); 390 if (pkey == port_attr->pa_pkey_tbl[ii].pt_pkey) { 392 index, IBNEX_VPPA_COMMSVC_NODE, pkey, &rval, 413 char *devname, ib_pkey_t *pkey, uint8_t *port) 426 (tmp = strstr(devname, "pkey 412 ibnex_prom_devname_to_pkey_n_portnum( char *devname, ib_pkey_t *pkey, uint8_t *port) argument 481 ib_pkey_t pkey; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/ |
H A D | ofed_kernel.h | 178 uint16_t pkey; member in struct:ib_sa_path_rec
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_ibt.c | 207 * changed, we'll reset the affected channels to the new pkey. 235 "eib_ibt_link_mod: pkey has changed for vnic(s), " 330 eib_ibt_modify_chan_pkey(eib_t *ss, eib_chan_t *chan, ib_pkey_t pkey) argument 333 * Make sure the channel pkey and index are set to what we need 335 return (eib_ibt_chan_pkey(ss, chan, pkey, B_TRUE, NULL)); 717 * We already have the vhub pkey recorded in our eib_chan_t. 718 * We only need to make sure our pkey index still matches it. 808 "pkey=0x%x) failed, ret=%d", 814 * If the pkey and the pkey inde [all...] |
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 177 PyObject *pkey = NULL; local 204 while (PyDict_Next(beNameProperties, &pos, &pkey, &pvalue)) { 206 PyString_AsString(pkey),
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | p12lib.c | 226 * or it should point to a valid STACK_OF(X509) structure. pkey and cert can 240 * pkey - Points to location pointing to the private key returned. 277 int keyid_len, char *name_str, EVP_PKEY **pkey, X509 **cert, 290 if (pkey) 291 *pkey = NULL; 333 name_str, pkey, cert, ca); 341 if (pkey && *pkey) { 342 sunw_evp_pkey_free(*pkey); variable 392 STACK_OF(EVP_PKEY) **pkey, STACK_O 391 sunw_PEM_contents(FILE *fp, pem_password_cb *cb, void *userdata, STACK_OF(EVP_PKEY) **pkey, STACK_OF(X509) **certs) argument 455 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey, STACK_OF(X509) **certs) argument 646 EVP_PKEY *pkey = NULL; local 927 sunw_evp_pkey_free(EVP_PKEY *pkey) argument 959 sunw_set_localkeyid(const char *keyid_str, int keyid_len, EVP_PKEY *pkey, X509 *cert) argument 1046 sunw_get_pkey_localkeyid(getdo_actions_t dowhat, EVP_PKEY *pkey, char **keyid_str, int *keyid_len) argument 1111 sunw_get_pkey_fname(getdo_actions_t dowhat, EVP_PKEY *pkey, char **fname) argument 1375 sunw_set_fname(const char *ascname, EVP_PKEY *pkey, X509 *cert) argument 1470 sunw_check_keys(X509 *cert, EVP_PKEY *pkey) argument 1541 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid, int kstr_len, char *name_str, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca) argument 1807 EVP_PKEY *pkey = NULL; local 2254 get_key_cert(int n, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, STACK_OF(X509) *cl, X509 **cert) argument 2594 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, STACK_OF(X509) *cl, X509 **cert) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_page.c | 1244 const DBT *pkey, *pdata; local 1316 pkey = &key_dbt; 1319 pkey = key; 1352 &LSN(hcp->pagep), pkey, pdata)) != 0) 1359 __ham_putitem(hcp->pagep, pkey, key_type);
|