/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 1179 CK_BYTE *input, *output; local 1182 input = newsalt; 1207 rv = soft_sign(session_p, input, inlen, output, &hmac_outlen); 1230 /* Output from previous PRF is input for next round */ 1231 input = output; 1383 * Append the block index to the salt as input
|
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 462 const char **input, unsigned *inputlen, 486 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy); 488 *input += tocopy; 527 memcpy(text->buffer + text->cursize, *input, *inputlen); 534 memcpy(text->buffer + text->cursize, *input, diff); 535 *input += diff; 604 const char *input, unsigned inputlen, 610 ret = _plug_decode(text->utils, context, input, inputlen, 1346 * small input values 1727 * and no input fro 461 gssapi_decode_once(void *context, const char **input, unsigned *inputlen, char **output, unsigned *outputlen) argument 603 gssapi_decode(void *context, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument [all...] |
/illumos-gate/usr/src/lib/efcode/include/fcode/ |
H A D | engine.h | 216 input_typ *input; /* input buffer pointer */ member in struct:FCODE_ENV
|
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 714 const char *input, unsigned inputlen, 719 const char **input, unsigned *inputlen, 731 ret = decode_pkt(context, &input, &inputlen, &tmp, &tmplen); 756 const char *serverFQDN, const char *input) 770 r = strchr(input, '@'); 781 ret = _plug_strdup(utils, input, user, NULL); 788 *user = utils->malloc(r - input); 790 memcpy(*user, input, r - input - 1); 791 (*user)[r - input 712 _plug_decode(const sasl_utils_t *utils, void *context, const char *input, unsigned inputlen, char **output, unsigned *outputsize, unsigned *outputlen, int (*decode_pkt)(void *context, const char **input, unsigned *inputlen, char **output, unsigned *outputlen)) argument 754 _plug_parseuser(const sasl_utils_t *utils, char **user, char **realm, const char *user_realm, const char *serverFQDN, const char *input) argument [all...] |
/illumos-gate/usr/src/cmd/vt/ |
H A D | vtdaemon.c | 31 * for password input and authentication. The /dev/vt/1 special text 450 * the end user to input the password. 510 char input[PAM_MAX_RESP_SIZE]; local 522 input[i++] = (char)c; 527 input[i] = '\0'; 535 return (strdup(input));
|
/illumos-gate/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 750 * reached the soft limit, write the input data and return. 767 auditd_plugin(const char *input, size_t in_len, uint64_t sequence, char **error) argument 789 (void) fprintf(dbfp, "binfile: input seq=%llu, len=%d\n", 845 out_len = write(activeDir->dl_fd, input, in_len);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 1528 krb5_data input; local 1554 input.data = chksumbuf; 1555 input.length = strlen(chksumbuf); 1562 &key, 0, &input, authenticator->checksum,
|
H A D | in.rlogind.c | 471 krb5_data input; local 501 input.data = chksumbuf; 502 input.length = strlen(chksumbuf); 507 &input,
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | doorway.c | 30 * input() is a door server that receives binary audit records and 37 * the process threads. The input thread moves buffers from the pool 95 static thr_data_t in_thr; /* input thread locks and data */ 104 static void input(void *, void *, int, door_desc_t *, int); 448 doorfd = door_create((void(*)())input, 0, 457 /* input door server */ 895 * policy set, else 1. 0 is also returned if the input is a control 1004 * Link the record buffer to the input queues. 1094 "adjust_priority: input taking a short break\n")); 1097 "adjust_priority: input bac 1116 input(void *cookie, void *argp, int arg_size, door_desc_t *dp, function [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | defs.h | 122 /* used for input and output of shell */ 339 #define input (standin->fdes) macro
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 156 krb5_db2_get_db_opt(char *input, char **opt, char **val) argument 158 char *pos = strchr(input, '='); 161 *val = strdup(input); 166 *opt = malloc((pos - input) + 1); 171 memcpy(*opt, input, pos - input); 172 (*opt)[pos - input] = '\0';
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 875 char input[1024]; local 876 input[0] = '\0'; 907 (void) gets(input); 909 if ((strcmp(input, MSGSTR(21032, "y")) == 0) || 910 (strcmp(input, MSGSTR(40, "yes")) == 0)) { 912 } else if ((strcmp(input, MSGSTR(21033, "n")) == 0) || 913 (strcmp(input, MSGSTR(45, "no")) == 0)) { 918 (void) fprintf(stderr, MSGSTR(21035, "Invalid input\n"));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/ |
H A D | asm10k.c | 169 getaline(FILE *input, char **tokens) argument 179 if (fgets(line, sizeof (line), input) == NULL) 577 if (strcmp(tokens[0], ".input") == 0) { 639 error("Attempt to access more than one input " 959 FILE *input; local 968 input = NULL; 1015 input = fopen(infile, "r"); 1016 if (input == NULL) { 1022 input = stdin; 1038 while ((tokcnt = getaline(input, token [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_82599.c | 785 /* Set autoneg_advertised value based on input link speed */ 1011 /* Setup the PHY according to input speed */ 1457 * @stream: input bitstream to compute the hash on 1465 u32 ixgbe_atr_compute_sig_hash_82599(union ixgbe_atr_hash_dword input, argument 1472 flow_vm_vlan = IXGBE_NTOHL(input.dword); 1524 * @input: unique input dword 1525 * @common: compressed common input dword 1528 * Note that the tunnel bit in input must not be set when the hardware 1532 union ixgbe_atr_hash_dword input, 1531 ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_hash_dword input, union ixgbe_atr_hash_dword common, u8 queue) argument 1605 ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input, union ixgbe_atr_input *input_mask) argument 1852 ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id, u8 queue, bool cloud_mode) argument 1941 ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id) argument 1988 ixgbe_fdir_add_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, union ixgbe_atr_input *input_mask, u16 soft_id, u8 queue, bool cloud_mode) argument [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | common.c | 270 int sasl_encode(sasl_conn_t *conn, const char *input, argument 278 if(!input || !inputlen || !output || !outputlen) 286 tmp.iov_base = (void *)input; 362 const char *input, unsigned inputlen, 371 if(!input || !output || !outputlen) 400 "input too large for default sasl_decode"); 403 "input too large for default sasl_decode"); 413 memcpy(conn->decode_buf, input, inputlen); 424 result = conn->oparams.decode(conn->context, input, inputlen, 361 sasl_decode(sasl_conn_t *conn, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex.h | 156 * does a substantial amount of input/output processing it is appropriate 228 var unsigned char *globp; /* (Untyped) input string to command mode */ 234 var unsigned char *input; /* Current position in cmd line input buffer */ variable 237 extern short lastc; /* Last character ret'd from cmd input */ 251 var int peekc; /* Peek ahead character (cmd mode input) */ 259 var bool seenprompt; /* 1 if have gotten user input */
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 234 char *input; local 450 input = userinput(usrname, &repository, ATTR_SHELL); 451 if (input) 452 attrlist_add(&attributes, ATTR_SHELL, input); 457 input = userinput(usrname, &repository, ATTR_GECOS); 458 if (input) 459 attrlist_add(&attributes, ATTR_GECOS, input); 464 input = userinput(usrname, &repository, ATTR_HOMEDIR); 465 if (input) 466 attrlist_add(&attributes, ATTR_HOMEDIR, input); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | pppd.h | 217 extern bool direct_tty; /* use standard input directly; not a tty */ 349 void (*input) __P((int unit, u_char *pkt, int len)); member in struct:protent 546 /* Wait for input, with timeout */
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 113 * conv_to_utf8(input) 115 * Convert the input string to utf8 from the current locale. If the 118 * return value may be a new string or the original input string. 122 conv_to_utf8(char *input) argument 125 char *inval = input; 126 char *output = input; 139 size = strlen(input); 150 output = input; 154 output = input; 168 * conv_from(input) 176 conv_from_utf8(char *input) argument [all...] |
/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 99 rp_tree_t *rpnode, inputArg_t *input, int gident, 104 inputArg_t *input, int lident, int gident); 106 sas_print_rpnode(inputArg_t *input, 112 SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input); 114 static int processHBA(inputArg_t *input, 117 static int isPortWWNInArgv(inputArg_t *input, PHBA_WWN pWWN); 118 static int isStringInArgv(inputArg_t *input, const char *adapterName); 124 static int handleHBA(SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input, 128 SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input); 137 SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input); 195 inputArg_t input; local 254 inputArg_t input; local 326 inputArg_t input; local 394 inputArg_t input; local 506 processHBA(inputArg_t *input, processPortFunc processPort) argument 1051 isPortWWNInArgv(inputArg_t *input, PHBA_WWN pWWN) argument 1089 isStringInArgv(inputArg_t *input, const char *stringName) argument 1119 handleHBA(SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input, int numberOfPorts, const char *adapterName) argument 1153 handleHBAPort(HBA_HANDLE handle, char *adapterName, HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port, SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input) argument 1178 handleExpander(HBA_HANDLE handle, char *adapterName, HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port, SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input) argument 1388 handleTargetPort(HBA_HANDLE handle, char *adapterName, HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port, SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input) argument 1508 inputArg_t input; local 1600 handleLogicalUnit(HBA_HANDLE handle, char *adapterName, HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port, SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input) argument 2497 sas_rp_tree_print(HBA_HANDLE handle, char *adapterName, HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port, rp_tree_t *rpnode, inputArg_t *input, int gident, int *printPort) argument 2641 sas_rp_tree_print_desc(HBA_HANDLE handle, HBA_UINT32 portIndex, SMHBA_PORTATTRIBUTES *port, rp_tree_t *desc, inputArg_t *input, int lident, int gident) argument 2669 sas_print_rpnode(inputArg_t *input, rp_tree_t *rpnode, int lident, int gident) argument [all...] |
/illumos-gate/usr/src/cmd/stmfadm/ |
H A D | stmfadm.c | 74 static int parseDevid(char *input, stmfDevid *devid); 441 * Converts char * input to a stmfDevid 443 * input - this should be in the following format with either a 457 parseDevid(char *input, stmfDevid *devid) argument 462 (void) mbstowcs(inputWc, input, MAX_DEVID_INPUT); 482 * input - input SCSI name string 484 * on successful return, contains the devid based on input 491 checkScsiNameString(wchar_t *input, stmfDevid *devid) argument 503 mbString = calloc(1, (mbStringLen = wcstombs(mbString, input, 558 checkHexUpper(char *input) argument 579 checkIscsiName(wchar_t *input) argument [all...] |
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 170 static ns_server_status_t set_server_status(char *input, server_info_t *head); 171 static void create_buf_and_notify(char *input, ns_server_status_t st); 859 * input: 860 * a buffer containing an empty string (e.g., input[0]='\0';) or a string 861 * as the "input" in printf(input, "%s%s%s%s", req, addrtype, DOORLINESEP, 888 getldap_get_serverInfo(server_info_t *head, char *input, argument 906 if (input == NULL || output == NULL) { 908 "No input or output buffer.\n"); 921 * parse the input strin 1609 getldap_serverInfo_op(info_op_t op, char *input, char **output) argument 2817 create_buf_and_notify(char *input, ns_server_status_t st) argument 2926 set_server_status(char *input, server_info_t *head) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | cryptmod.c | 485 * Feedback the encrypted output as the input to next DES call. 490 * Get the last bits of input from the previous 491 * msg block that we haven't yet used as feedback input. 500 * Now copy the correct bytes from the current input 511 * If there are bytes of input here that we need in the next 548 * Save the input CFB_BLKSZ bytes at a time. 593 * To decrypt, XOR the input with the output from the DES call 601 * Feedback the encrypted input for next DES call. 606 * Get the last bits of input from the previous block 619 * buffer of input dat 649 crc32_calc(uchar_t *buf, uchar_t *input, uint_t len) argument 664 kef_digest(crypto_mech_type_t digest_type, uchar_t *input, uint_t inlen, uchar_t *output, uint_t hashlen) argument 704 sha1_calc(uchar_t *output, uchar_t *input, uint_t inlen) argument 719 md5_calc(uchar_t *output, uchar_t *input, uint_t inlen) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/usb/clients/video/usbvc/ |
H A D | usbvc.h | 262 } input; member in union:usbvc_term_descr::__anon9198 282 /* for input or output terminals, excluding camera terminals */ 293 /* input header descriptor */ 309 /* UVC Spec: only one input header in one stream interface */
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.c | 57 static char *my_strndup (const char *input, size_t limit) argument 59 size_t len = strlen(input); 64 memcpy(result, input, limit); 69 return strdup(input); 1130 /* validate the input parameters */ 1222 /* validate the input parameters */ 1849 /* validate the input parameters */ 2295 Also, this version won't handle an input string which contains
|