/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | ether_addr.c | 91 arg.key.name = host; 116 arg.key.ether = (void *)e; 160 * then do a match for the ether key) and happens for "nis" 166 * then do a match for the host key) and happens for "nis" 242 static thread_key_t key = THR_ONCE_KEY; local 249 if (thr_keycreate_once(&key, free) != 0) 251 eabuf = pthread_getspecific(key); 254 (void) thr_setspecific(key, eabuf);
|
/illumos-gate/usr/src/lib/libnsl/des/ |
H A D | des_crypt.c | 92 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument 99 err = common_crypt(key, buf, len, mode, &dp); 109 ecb_crypt(char *key, char *buf, size_t len, unsigned int mode) argument 114 return (common_crypt(key, buf, len, mode, &dp)); 123 common_crypt(char *key, char *buf, unsigned len, unsigned mode, argument 135 COPY8(key, desp->des_key);
|
/illumos-gate/usr/src/lib/libnsl/include/rpcsvc/ |
H A D | nis_dhext.h | 60 uchar_t key[1]; member in struct:extdhkey 116 /* Is the mech entry of the public key crypto variety? */
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_events.c | 138 key_t key; local 156 if ((key = ftok(eventmsgfile, 0)) == -1) { 162 if ((event_msqid = msgget(key, 0444)) == -1) { 203 key_t key; local 209 if ((key = ftok(eventmsgfile, 0)) == -1) 212 if (msgget(key, 0644 | IPC_CREAT) == -1) 228 key_t key; local 249 if ((key = ftok(eventmsgfile, 0)) == -1) { 257 if ((msqid = msgget(key, 0644)) == -1) { 314 key_t key; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | shmsys.c | 117 shmget(key_t key, int size, int shmflg) argument 119 return (_syscall(SYS_shmsys, SHMGET, key, size, shmflg)); 129 key_t key; local 150 key = va_arg(ap, key_t); 154 return (shmget(key, size, shmflg));
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | semsys.c | 123 semget(key_t key, int nsems, int semflg) argument 125 return (syscall(SYS_semsys, SEMGET, key, nsems, semflg));
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tsd.c | 46 * half a gigabyte of memory for each thread that uses the largest key. 63 * pthread_getspecific() on an allocated key upon which the 67 * pthread_key_create(&key); 68 * pthread_setspecific(key, datum); 69 * pthread_key_delete(&key); 70 * pthread_key_create(&key); 71 * val = pthread_getspecific(key); 73 * According to POSIX, if the deleted key is reused for the new 74 * key returned by the second pthread_key_create(), then the 81 * the value NULL with the new (reused) key fo 163 thread_key_t key; local 185 pthread_key_delete(pthread_key_t key) argument 214 pthread_getspecific(pthread_key_t key) argument 236 thr_getspecific(thread_key_t key, void **valuep) argument 267 thr_setspecific_slow(thread_key_t key, void *value) argument 322 thr_setspecific(thread_key_t key, void *value) argument 355 pthread_setspecific(pthread_key_t key, const void *value) argument 375 _thr_slot_offset(thread_key_t key) argument 390 thread_key_t key; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sortctrl.c | 241 static int read_next_token(const char **s,LDAPsortkey **key) argument 344 *key = new_key;
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | util.c | 171 * Convert hex key to MINT key 174 mp_xtom(char *key) argument 182 for (; *key; key++) { 183 digit = xtoi(*key); 208 * Convert MINT key to hex key 211 mp_mtox(MINT *key) argument 224 if (key [all...] |
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | revnetgroup.c | 47 * will begin with a key formed by concatenating the host or user name 48 * with the domain name. The key will be followed by a tab, then the 139 group = cur->key; 186 char *key; local 200 key = malloc((unsigned) (strlen(name)+strlen(domain)+2)); 201 (void) sprintf(key, "%s.%s", name, domain); 202 enter(key, group); 244 int key; local 248 key = tablekey(name); 249 if (grouptable[key] [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | stdhosts.c | 58 static void verify_and_output(const char *key, char *value, int lineno); 226 * Builds and verifies the output key and value string 229 * key + separator + value <= OUTPUTSIZ (for ndbm) 234 verify_and_output(const char *key, char *value, int lineno) argument 245 if (key) { /* Just in case key is NULL */ 246 n = strlen(key); 255 memcpy(tmpbufp, key, n+1); /* Plus the '\0' */
|
H A D | ypcat.c | 210 * This dumps out the value, optionally the key, and perhaps an error message. 213 callback(status, key, kl, val, vl, fail) 215 char *key; 226 (void) printf("%.*s ", kl, key); 253 char *key; local 261 key = nullstring; 285 key = outkey; 288 if (err = yp_next(domain, map, key, keylen, &outkey, &outkeylen, 300 free(key);
|
/illumos-gate/usr/src/common/crypto/aes/amd64/ |
H A D | aeskey.c | 34 * Initialise the key schedule from the user supplied key. The key 39 * The following macros implement a single cycle in the key 89 aes_encrypt_key128(const unsigned char *key, uint32_t rk[]) argument 93 rk[0] = ss[0] = word_in(key, 0); 94 rk[1] = ss[1] = word_in(key, 1); 95 rk[2] = ss[2] = word_in(key, 2); 96 rk[3] = ss[3] = word_in(key, 3); 129 aes_encrypt_key192(const unsigned char *key, uint32_ argument 173 aes_encrypt_key256(const unsigned char *key, uint32_t rk[]) argument 327 aes_decrypt_key128(const unsigned char *key, uint32_t rk[]) argument 407 aes_decrypt_key192(const unsigned char *key, uint32_t rk[]) argument 505 aes_decrypt_key256(const unsigned char *key, uint32_t rk[]) argument [all...] |
/illumos-gate/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 70 DSA_key_init(DSAkey *key, int size) argument 77 key->size = size; 78 if ((err = big_init(&(key->q), len160)) != BIG_OK) 80 if ((err = big_init(&(key->p), len)) != BIG_OK) 82 if ((err = big_init(&(key->g), len)) != BIG_OK) 84 if ((err = big_init(&(key->x), len160)) != BIG_OK) 86 if ((err = big_init(&(key->y), len)) != BIG_OK) 88 if ((err = big_init(&(key->k), len160)) != BIG_OK) 90 if ((err = big_init(&(key->r), len160)) != BIG_OK) 92 if ((err = big_init(&(key 119 DSA_key_finish(DSAkey *key) argument 138 generate_dsa_key(DSAkey *key, int (*rfunc)(void *, size_t)) argument [all...] |
/illumos-gate/usr/src/common/net/wanboot/crypt/ |
H A D | des3.c | 82 * Generate key schedule for triple DES in E-D-E (or D-E-D) mode. 84 * The key argument is taken to be 24 bytes. The first 8 bytes are K1 89 des3_key(void *cookie, const uint8_t *key) argument 92 uint8_t *k1 = (uint8_t *)key; 106 des3_keycheck(const uint8_t *key) argument 153 if (IS_P2ALIGNED(key, sizeof (uint64_t))) { 155 currentkey = (uint64_t *)key; 158 bcopy(key, currentkey, 3 * sizeof (uint64_t)); 203 /* Do weak key check itself. */ 207 /* In 3DES, one weak key i [all...] |
/illumos-gate/usr/src/head/ |
H A D | secdb.h | 45 #define KV_ADD_KEYS 16 /* number of key value pairs to realloc */ 69 char *key; member in struct:kv_s 71 } kv_t; /* A key-value pair */ 75 kv_t *data; /* array of key value pairs */
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getexec.c | 85 _priv_execattr *ep1 = (_priv_execattr *)e1->key.attrp; 86 _priv_execattr *ep2 = (_priv_execattr *)e2->key.attrp; 107 execattr_gethash(nss_XbyY_key_t *key, int htsize) { argument 108 _priv_execattr *ep = key->attrp; 122 _priv_execattr *ep = argp->key.attrp;
|
H A D | nscd_nswparse.c | 134 * followed by "key" surrounded by zero or more spaces and 136 * *cur pointer is advanced to the first non {space, key} char 137 * followed by the key. Otherwise, return NULL and keep 141 skip(char **cur, char key) argument 149 found = (*p == key); 151 *p++ = '\0'; /* overwrite the key */ 155 tmpfound = (*++p == key); 160 p++; /* skip the key */
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Expression.java | 141 * @param keys Array of valid key strings. 142 * @param key Key sought. 144 * @throws IllegalArgumentException if the sought key is not 147 protected static void validateKeyword(String keys[], String key) argument 151 if (keys[i].compareTo(key) == 0) 154 throw new IllegalArgumentException("keyword " + key + 169 * This class implements the functionality for a key-value-operator 175 * [[imp]:] <key> <op> <value> 177 * key is a string which identifies the expression 369 * This class implements the functionality for a key [all...] |
/illumos-gate/usr/src/cmd/print/lpset/ |
H A D | lpset.c | 90 "[-a key=value] [-d key] (printer)\n"), 272 char *p, *key = NULL, *value = NULL; local 274 key = *(changes++); 276 for (p = key; ((p != NULL) && (*p != NULL)); p++) 287 if ((key != NULL) && (key[0] != NULL)) { 289 (ns_get_value(key, printer_obj) == NULL) && 293 key); 296 (void) ns_set_value_from_string(key, valu [all...] |
/illumos-gate/usr/src/cmd/profiles/ |
H A D | profiles.c | 203 char *key; local 244 key = kv_pair[i].key; 246 if (key == NULL || val == NULL) 251 (void) printf("%s=%s\n", key, val);
|
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap_common.c | 146 lwpstack_t key, *stk; local 148 key.lwps_stack.ss_sp = (void *)vaddr; 149 key.lwps_stack.ss_size = size; 151 (stk = bsearch(&key, stacks, nstacks, sizeof (stacks[0]),
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 55 static int parse_num __P((char *str, const char *key, int *valp)); 98 TDB_DATA key, pid, rec; local 156 key.dptr = bundle_id; 157 key.dsize = p - bundle_id; 158 pid = tdb_fetch(pppdb, key); 197 parse_num(str, key, valp) 199 const char *key; 205 p = strstr(str, key); 207 p += strlen(key); 218 * Check whether the pppd identified by `key' stil [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/ |
H A D | encr.c | 93 * This routine is used to find the key of type defined by 'ka' and 94 * return it in 'key'. The key file should have been opened by the 101 get_key(FILE *key_fp, wbku_key_attr_t *ka, uint8_t *key) argument 106 * Find the client key, if it exists. 108 ret = wbku_find_key(key_fp, NULL, ka, key, B_FALSE); 223 encr_gen_3des(const wbku_key_attr_t *ka, const uint8_t *key) argument 235 des3_key(eh, key); 264 encr_gen_aes(const wbku_key_attr_t *ka, const uint8_t *key) argument 276 aes_key(eh, key, k 319 uint8_t key[WANBOOT_MAXKEYLEN]; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | driver_wifi.c | 158 * set_key - configure encryption key 161 * %WPA_ALG_TKIP, %WPA_ALG_CCMP); %WPA_ALG_NONE clears the key. 164 * @key_idx: key index (0..3), always 0 for unicast keys 165 * @set_tx: configure this key as the default Tx key (only used when 166 * driver does not support separate unicast/individual key 173 * @key: key buffer; TKIP: 16-byte temporal key, 8-byte Tx Mic key, 191 wpa_driver_wifi_set_key(dladm_handle_t handle, datalink_id_t linkid, wpa_alg alg, unsigned char *addr, int key_idx, boolean_t set_tx, uint8_t *seq, uint32_t seq_len, uint8_t *key, uint32_t key_len) argument [all...] |