/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | nis_common.c | 57 * ends up doing more malloc()ing and data copying than would otherwise 458 struct cb_data data; local 461 data.args = args; 462 data.filter = filter; 463 data.func = func; 464 data.result = NSS_NOTFOUND; 467 cback.data = (char *)&data; 485 return (data.result); 551 struct XbyY_data data; local [all...] |
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | packer.h | 68 char data[NUMWORDS][MAXWORDLEN]; member in struct:__anon4257
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | dhkeys.c | 464 uid = (uid_t)attr_pw[0].data.val_i; 465 gid = (gid_t)attr_pw[1].data.val_i; 548 rpc_cleanup(pam_handle_t *pamh, void *data, int pam_status) argument 550 if (data) { 551 (void) memset(data, 0, strlen(data)); 552 free(data);
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 75 void *data, 78 free((unix_authtok_data *)data); 365 repository_name = attr_pw[0].data.val_s; 366 pw_uid = attr_pw[1].data.val_i; 367 shpwd.sp_pwdp = attr_pw[2].data.val_s; 394 shpwd.sp_lstchg = attr_spw[0].data.val_i; 395 shpwd.sp_min = attr_spw[1].data.val_i; 396 shpwd.sp_max = attr_spw[2].data.val_i; 397 shpwd.sp_warn = attr_spw[3].data.val_i; 398 shpwd.sp_inact = attr_spw[4].data 73 unix_cleanup( pam_handle_t *pamh, void *data, int pam_status) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDSA.c | 168 local_dsa_verify(soft_object_t *key, CK_BYTE_PTR data, CK_BYTE_PTR sig) argument 211 rv = dsa_verify(&k, data, sig); 258 * Now, we are ready to sign the data 296 /* Input data length needs to be 20 bytes. */ 338 /* Input data length needs to be 20 bytes. */ 389 * Now, we are ready to verify the data using signature.
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 201 * damage to or loss of data, programs or equipment, and 299 CK_BYTE * data, 337 (void) memcpy(&buf[2], data, data_len); 348 (void) memcpy(&buf[3], data, data_len); 360 (void) memcpy(&buf[4], data, data_len); 373 (void) memcpy(&buf[5], data, data_len); 386 CK_BYTE ** data, 401 *data = &ber_int[2]; 412 *data = &ber_int[3]; 423 *data 296 ber_encode_INTEGER(CK_BBOOL length_only, CK_BYTE ** ber_int, CK_ULONG * ber_int_len, CK_BYTE * data, CK_ULONG data_len) argument 385 ber_decode_INTEGER(CK_BYTE * ber_int, CK_BYTE ** data, CK_ULONG * data_len, CK_ULONG * field_len) argument 446 ber_encode_OCTET_STRING(CK_BBOOL length_only, CK_BYTE ** str, CK_ULONG * str_len, CK_BYTE * data, CK_ULONG data_len) argument 536 ber_decode_OCTET_STRING(CK_BYTE * str, CK_BYTE ** data, CK_ULONG * data_len, CK_ULONG * field_len) argument 598 ber_encode_SEQUENCE(CK_BBOOL length_only, CK_BYTE ** seq, CK_ULONG * seq_len, CK_BYTE * data, CK_ULONG data_len) argument 681 ber_decode_SEQUENCE(CK_BYTE * seq, CK_BYTE ** data, CK_ULONG * data_len, CK_ULONG * field_len) argument 751 ber_encode_PrivateKeyInfo(CK_BBOOL length_only, CK_BYTE ** data, CK_ULONG * data_len, CK_BYTE * algorithm_id, CK_ULONG algorithm_id_len, CK_BYTE * priv_key, CK_ULONG priv_key_len) argument 832 ber_decode_PrivateKeyInfo(CK_BYTE * data, CK_ULONG data_len, CK_BYTE ** algorithm, CK_ULONG * alg_len, CK_BYTE ** priv_key) argument 883 ber_encode_RSAPrivateKey(CK_BBOOL length_only, CK_BYTE ** data, CK_ULONG * data_len, CK_ATTRIBUTE * modulus, CK_ATTRIBUTE * publ_exp, CK_ATTRIBUTE * priv_exp, CK_ATTRIBUTE * prime1, CK_ATTRIBUTE * prime2, CK_ATTRIBUTE * exponent1, CK_ATTRIBUTE * exponent2, CK_ATTRIBUTE * coeff) argument 1053 ber_decode_RSAPrivateKey(CK_BYTE * data, CK_ULONG data_len, CK_ATTRIBUTE ** modulus, CK_ATTRIBUTE ** publ_exp, CK_ATTRIBUTE ** priv_exp, CK_ATTRIBUTE ** prime1, CK_ATTRIBUTE ** prime2, CK_ATTRIBUTE ** exponent1, CK_ATTRIBUTE ** exponent2, CK_ATTRIBUTE ** coeff) argument [all...] |
H A D | key_mgr.c | 243 CK_BYTE * data = NULL; local 301 &data, &data_len); 309 length_only, &data, &data_len); 337 ctx, data, data_len, wrapped_key, wrapped_key_len); 339 if (data != NULL) { 340 free(data); 360 CK_BYTE * data = NULL; local 430 data, &data_len); 434 data = (CK_BYTE *)malloc(data_len); 435 if (! data) { [all...] |
H A D | object.c | 201 * damage to or loss of data, programs or equipment, and 364 // CKA_ALWAYS_SENSITIVE == FALSE since the key data was presumably 516 CK_BYTE ** data, 557 *data = buf; 756 object_restore(CK_BYTE *data, OBJECT **new_obj, CK_BBOOL replace) { argument 763 if (! data || ! new_obj) { 775 (void) memcpy(&obj->class, data + offset, sizeof (CK_OBJECT_CLASS_32)); 778 (void) memcpy(&count, data + offset, sizeof (CK_ULONG_32)); 782 (void) memcpy(&obj->name, data + offset, 8); 785 rc = template_unflatten(&tmpl, data 515 object_flatten(OBJECT * obj, CK_BYTE ** data, UINT32 *len) argument [all...] |
H A D | sess_mgr.c | 201 * damage to or loss of data, programs or equipment, and 310 SESSION *s = (SESSION *)node->data; 386 SESSION *s = (SESSION *)node->data; 452 SESSION *s = (SESSION *)node->data; 480 SESSION *s = (SESSION *)node->data; 509 SESSION *s = (SESSION *)node->data; 538 SESSION *s = (SESSION *)node->data; 647 SESSION *sess = (SESSION *)sess_list->data; 713 SESSION *s = (SESSION *)node->data; 745 s = (SESSION *)node->data; 764 session_mgr_get_op_state(SESSION *sess, CK_BBOOL length_only, CK_BYTE *data, CK_ULONG *data_len) argument 987 session_mgr_set_op_state( SESSION *sess, CK_OBJECT_HANDLE encr_key, CK_OBJECT_HANDLE auth_key, CK_BYTE *data) argument [all...] |
H A D | utility.c | 39 dlist_add_as_first(DL_NODE *list, void *data) argument 43 if (! data) 48 node->data = data; 65 dlist_add_as_last(DL_NODE *list, void *data) { argument 68 if (! data) 73 node->data = data; 92 dlist_find(DL_NODE *list, void *data) argument 96 while (node && node->data ! 499 build_attribute(CK_ATTRIBUTE_TYPE type, CK_BYTE *data, CK_ULONG data_len, CK_ATTRIBUTE **attrib) argument 622 compute_sha(CK_BYTE *data, CK_ULONG_32 len, CK_BYTE * hash) argument [all...] |
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_engine.c | 285 * bytes of valid data currently stored in the buffer. 288 * successfully, the entire buffer is assumed to contain valid data. 291 * successfully, the amount of valid data is 0. 295 * incompatible with the action data buffer. 305 "data buffer not supported for actions with both " 353 * the size of the sense buffer and the amount of valid data it contains. 363 "sense data unavailable: LIBSCSI_AF_RQSENSE is clear")); 399 * Set the length of valid data returned by a READ action. If the action is 412 "data cannot be returned for actions with LIBSCSI_AF_READ " 416 "data lengt 568 scsi_inject_errors(void *data, size_t len, uint_t mtbf) argument [all...] |
H A D | scsi_subr.c | 295 spc3_inquiry_data_t data; local 299 LIBSCSI_AF_READ | LIBSCSI_AF_SILENT | LIBSCSI_AF_DIAGNOSE, &data, 321 data.id_vendor_id, sizeof (data.id_vendor_id))) == NULL || 323 data.id_product_id, sizeof (data.id_product_id))) == NULL || 325 data.id_product_revision, 326 sizeof (data.id_product_revision))) == NULL) {
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_plugin.c | 189 ses_plugin_setspecific(ses_plugin_t *sp, void *data) argument 191 sp->sp_data = data;
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_pages.c | 39 ses2_ctl_common_setdef(ses_node_t *np, ses2_diag_page_t page, void *data) argument 41 ses2_cmn_elem_ctl_impl_t *eip = data; 58 ses2_aes_index(ses_plugin_t *sp, ses_node_t *np, void *data, size_t pagelen, argument 61 ses2_aes_page_impl_t *apip = data; 79 if (!SES_WITHIN_PAGE_STRUCT(dep, data, pagelen)) 86 if (!SES_WITHIN_PAGE(dep, desclen, data, pagelen)) 98 * data. This means we cannot know which element 126 ses2_threshold_index(ses_plugin_t *sp, ses_node_t *np, void *data, argument 131 ses2_threshold_in_page_impl_t *tpip = data; 140 if (!SES_WITHIN_PAGE_STRUCT(tp, data, pagele 148 ses2_element_index(ses_plugin_t *sp, ses_node_t *np, void *data, size_t pagelen, size_t *len) argument 196 ses2_status_index(ses_plugin_t *sp, ses_node_t *np, void *data, size_t pagelen, size_t *len) argument 234 void *data; local 289 void *data; local 333 ses2_ucodeout_ctl_fill(ses_plugin_t *sp, void *data, size_t pagelen, ses_node_t *np) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_marshal.c | 113 * encoded data. The structure to which result points should be 119 * rc = ndr_decode_buf(nbuf, opnum, data, datalen, &info); 126 const char *data, size_t datalen, void *result) 147 bcopy(data, nbuf->nb_nds.pdu_base_addr, datalen); 178 * Use the receive stream to unmarshall data (NDR_MODE_CALL_RECV). 196 * Use the send stream to marshall data (NDR_MODE_RETURN_SEND). 214 * Use the send stream to marshall data (NDR_MODE_CALL_SEND). 232 * Use the receive stream to unmarshall data (NDR_MODE_RETURN_RECV). 394 * Remove an RPC fragment header from the received data stream. 400 * | hdr | data | hd 125 ndr_buf_decode(ndr_buf_t *nbuf, unsigned hdr_type, unsigned opnum, const char *data, size_t datalen, void *result) argument 414 char *data; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_ht.c | 219 * handle and the key is used to generate a hashed index. The data 230 ht_add_item(HT_HANDLE *handle, const char *key, const void *data) argument 258 item->hi_data = (void *)data; 287 ht_replace_item(HT_HANDLE *handle, const char *key, const void *data) argument 291 return (ht_add_item(handle, key, data)); 299 * first key found will be deleted. Note that the data pointer is never 301 * return value will be null. Otherwise, the data pointer supplied by the 313 void *data = 0; local 341 data = cur->hi_data; 359 return (data); [all...] |
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/ |
H A D | bcrypt.c | 111 decode_base64(uint8_t *buffer, uint16_t len, uint8_t *data) argument 114 uint8_t *p = data; 120 /* Invalid data */ 249 /* We dont want the base64 salt but the raw data */ 313 encode_base64(uint8_t *buffer, uint8_t *data, uint16_t len) argument 316 uint8_t *p = data; 318 while (p < data + len) { 322 if (p >= data + len) { 330 if (p >= data + len) {
|
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/ |
H A D | sunmd5.c | 256 /* put all the sensitive data in a struct */ 278 } data; local 306 MD5Init(&data.context); 310 MD5Update(&data.context, (uchar_t *)plaintext, strlen(plaintext)); 314 MD5Update(&data.context, (uchar_t *)puresalt, strlen(puresalt)); 319 MD5Final(data.digest, &data.context); 329 MD5Init(&data.context); 333 MD5Update(&data.context, data [all...] |
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 63 * protects all the data for the table, the valid_stamp and max_index 64 * tags for new data, and - importantly - all the hidden static data 74 * data collection from bottlenecking the entire agent, not to improve 78 * per-table data (the tree, max_index, and valid_stamp), and the 106 * data for it. Otherwise, return NULL. Note that the module may not be 121 * data for it. Otherwise, return NULL. Note that the module may not be 136 * from the fault manager) fmd module, return the data for that module. 137 * Otherwise, return the data for the valid module whose index is as close as 144 sunFmModule_data_t *key, *data; local 170 sunFmModule_data_t *data = module_lookup_name(modinfo->ami_name); local 466 sunFmModule_data_t *data; local 557 sunFmModule_data_t *data; local [all...] |
H A D | scheme.c | 226 void *data; local 228 if ((data = malloc(size)) != NULL) 229 bzero(data, size); 231 return (data); 236 fmd_fmri_free(void *data, size_t size) argument 238 free(data);
|
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_xmpp_client.h | 61 #define XML_DATA ((xmlChar *)"data") 78 " <data version=\"3.0\"> </data>" \ 92 ldom_cb_arg_t data; member in struct:client_info 105 ldom_cb_arg_t data);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/hostbridge/ |
H A D | hostbridge.c | 139 topo_instance_t imax, void *notused, void *data) 174 rv = specific_hb_enum(mp, pn, name, imin, imax, data); 138 hb_enum(topo_mod_t *mp, tnode_t *pn, const char *name, topo_instance_t imin, topo_instance_t imax, void *notused, void *data) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_enum.c | 192 ipmi_sdr_t *sdrp, void *data) 194 ipmi_enum_data_t *edp = data; 207 ipmi_check_entity(ipmi_handle_t *ihp, ipmi_entity_t *ep, void *data) argument 209 ipmi_enum_data_t *edp = data; 407 ipmi_enum_data_t data; local 425 data.ed_entity = IPMI_ET_POWER_DOMAIN; 427 data.ed_entity = IPMI_ET_PSU; 429 data.ed_entity = IPMI_ET_COOLING_DOMAIN; 431 data.ed_entity = IPMI_ET_FAN; 441 data 191 ipmi_check_sdr(ipmi_handle_t *ihp, ipmi_entity_t *ep, const char *name, ipmi_sdr_t *sdrp, void *data) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi.c | 118 * Clean up any data used by the module before it is unloaded. 136 topo_instance_t min, topo_instance_t max, void *pi_private, void *data) 135 x86pi_enum(topo_mod_t *mod, tnode_t *t_parent, const char *name, topo_instance_t min, topo_instance_t max, void *pi_private, void *data) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/ |
H A D | motherboard.c | 113 mb_topo_free(void *data, size_t size) argument 116 topo_mod_free(mb_mod_hdl, data, size);
|