/illumos-gate/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_log.c | 417 ldl_create(mdkey_t key, mt_unit_t *un) argument 428 * Find a unit struct for this key and set 434 if ((ul->un_key == key) && 453 ul->un_key = key; 454 ul->un_dev = md_getdevnum(setno, mddb_getsidenum(setno), key, 631 /* Save the log key */ 633 sv.key = ul->un_key;
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_ccmp.c | 116 * Add privacy headers appropriate for the specified key. 154 * received frame. The specified key should be correct but 230 aes_ccm_encrypt(CK_AES_CCM_PARAMS *cmparam, const uint8_t *key, int keylen, argument 246 crkey.ck_data = (char *)key; 283 aes_ccm_decrypt(CK_AES_CCM_PARAMS *cmparam, const uint8_t *key, int keylen, argument 299 crkey.ck_data = (char *)key; 425 ccmp_encrypt(struct ieee80211_key *key, mblk_t *mp, int hdrlen) argument 437 ccmp_init(wh, key->wk_keytsc, data_len, b0, aad); 447 key->wk_key, key 456 ccmp_decrypt(struct ieee80211_key *key, uint64_t pn, mblk_t *mp, int hdrlen) argument [all...] |
H A D | net80211_crypto_wep.c | 116 * WEP key length is standardized to 40-bit. Many 123 * Add privacy headers appropriate for the specified key. 142 * IV must not duplicate during the lifetime of the key. 145 * because of the session key itself is shared. 178 * the specified key. 225 wep_encrypt(struct ieee80211_key *key, mblk_t *mp, int hdrlen) argument 234 ASSERT(key->wk_flags & IEEE80211_KEY_SWCRYPT); 239 (void) memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, 240 key->wk_keylen); 244 IEEE80211_WEP_IVLEN + key 272 wep_decrypt(struct ieee80211_key *key, mblk_t *mp, int hdrlen) argument 323 rc4_init(crypto_context_t *ctx, const uint8_t *key, int keylen) argument [all...] |
H A D | net80211_output.c | 179 struct ieee80211_key *key; local 246 key = ieee80211_crypto_getkey(ic); 248 key = NULL; 254 if (key != NULL && (ic->ic_flags & IEEE80211_F_WPA)) { 256 if (!ieee80211_crypto_enmic(isc, key, mp, 0)) 483 struct ieee80211_key *key; local 606 * shared key authentication. We do the latter if 607 * we're in the middle of a shared key authentication 609 * request and configured to use shared key. 617 key [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_reloc.c | 429 int key = pci_reloc_getkey(); local 434 key + ('D'<<24 | 'V'<<16 | 'M'<<8 | 'A'), 438 key + ('F'<<24 | 'D'<<16 | 'M'<<8 | 'A'),
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 47 * We recognize the following key phrases in the alert prototype 163 int key; local 174 for (key = 0; key < NALRT_KEYS; key++) 177 shell_keys[key].v, 178 shell_keys[key].len 183 cp += shell_keys[key].len; 185 switch (key) { 225 if (key > [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei.c | 60 mod_hash_key_t key, mod_hash_val_t *val, void *arg); 886 * key = rxid of the unsolicited exchange 900 fcoei_xch_check(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument 908 ASSERT(xch->xch_oxid == CMHK(key));
|
H A D | fcoei_eth.c | 428 * key = oxid of the exchange 441 fcoei_search_abort_xch(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument 448 ASSERT(xch->xch_oxid == CMHK(key));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | zone.c | 305 uint_t keygiven; /* Was a key specified (are we */ 308 zone_key_t key; /* Key of ZSD for which we're looking */ member in struct:zsd_cb_data 331 * Are we looking for a single entry specified by a key? Then make sure 332 * that the current ZSD's key is what we're looking for. 334 if (cbdp->keygiven == TRUE && cbdp->key != entry.zsd_key) 382 * Get the optional arguments (key or -v or both). Note that 383 * mdb_getopts() will not parse a key argument because it is not 385 * that all options precede the optional key argument. 392 * No options may appear after the key. 398 * The missed argument should be a key [all...] |
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | netrauth.h | 109 BYTE key[NETR_SESSKEY_MAXSZ]; member in struct:netr_session_key
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | collate.c | 193 substsearch(const struct lc_collate *lcc, const wchar_t key, int pass) argument 204 if (!(key & COLLATE_SUBST_PRIORITY)) 207 p = lcc->lc_subst_table[pass] + (key & ~COLLATE_SUBST_PRIORITY); 208 assert(p->key == key); 218 chainsearch(const struct lc_collate *lcc, const wchar_t *key, int *len) argument 236 compar = *key - *p->str; 239 compar = wcsncmp(key, p->str, l); 254 largesearch(const struct lc_collate *lcc, const wchar_t key) argument 268 compar = key [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_logon.c | 331 * session key obtained in the NETLOGON credential chain. 332 * An 8 byte session key is zero extended to 16 bytes. This 16 byte 333 * key is the key to the RC4 algorithm. The RC4 byte stream is 341 bcopy(netr_info->session_key.key, rc4key, netr_info->session_key.len); 482 * key. 488 BYTE key[NETR_OWF_PASSWORD_SZ]; local 496 (void) memset(key, 0, NETR_OWF_PASSWORD_SZ); 497 (void) memcpy(key, netr_info->session_key.key, [all...] |
H A D | smb_autohome.c | 304 * only used for key substitution, so that the caller sees the entry 397 char key[SMB_AUTOHOME_KEYSIZ]; local 402 (void) strlcpy(key, buf, SMB_AUTOHOME_KEYSIZ); 404 if ((tmp = strpbrk(key, " \t")) == NULL) 410 * Substitution characters are not allowed in the key. 412 if (strpbrk(key, "?&") != NULL) 415 if (strcmp(key, "*") == 0 && name != NULL) 416 (void) strlcpy(key, name, SMB_AUTOHOME_KEYSIZ); 418 (void) strsubst(buf, '?', *key); 425 (void) strlcpy(ampersand, key, bufsiz [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ksetpwd.c | 313 * Populate the keytab with keys of the specified key version for the 402 * Add a key of the specified encryption type for the specified principal 413 krb5_keyblock key; local 436 code = krb5_c_string_to_key(ctx, enctype, &password, salt, &key); 439 "generate key (%d)", enctype); 445 (void) memcpy(&entry->key, &key, sizeof (krb5_keyblock)); 451 "add key (%d)", enctype); 457 if (key.length) 458 krb5_free_keyblock_contents(ctx, &key); [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | elm.c | 84 * key = points back to the key that points to this notice, 93 struct key *key; member in struct:notice 101 * a key points to a sublist of notices. a key has the following fields: 105 * left = points to the key immediately preceding this one. 106 * right = points to the key immediately following this one. 108 struct key { time_t time; struct 111 struct key *lef 122 struct index { struct key *key; member in struct:index [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | serial.c | 88 /* Fetch a key. */ 214 char key; 230 short key; 252 if (three_code_table[i].key == input_buf[2]) 264 short key = *((short *) (input_buf + 2)); 269 if (four_code_table[i].key == key) 301 /* Translate some key sequences. */ 212 char key; member in struct:__anon11 228 short key; member in struct:__anon12 262 short key = *((short *) (input_buf + 2)); local
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | dnssec.h | 48 // Each AuthChain element has one rrset (with multiple resource records of same type), rrsig and key 55 RRVerifier *key; // Public key for that RRSET member in struct:AuthChain_struct 112 RRVerifier *key; // DNSKEY for rrset member in struct:DNSSECVerifier_struct
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 298 * because the thread may use the key's TSD further on in fini processing. 305 int key; local 308 for (key = 1; key < tsdm->tsdm_nused; key++) { 309 if ((func = tsdm->tsdm_destro[key]) != NULL && 312 tsdm->tsdm_destro[key] = NULL;
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | c11_thr.c | 267 tss_create(tss_t *key, tss_dtor_t dtor) argument 269 if (pthread_key_create(key, dtor) == 0) 275 tss_delete(tss_t key) argument 277 if (pthread_key_delete(key) != 0) 282 tss_get(tss_t key) argument 284 return (pthread_getspecific(key)); 288 tss_set(tss_t key, void *val) argument 290 if (pthread_setspecific(key, val) == 0)
|
/illumos-gate/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientlib.c | 75 const char *key, 81 *keylen = (unsigned long) strlen(key); 86 if (p <= e && *keylen <= x[0] && !strncasecmp(key, (char*)x+1, *keylen)) 204 const char *key, 213 for (k = key; *k; k++) if (*k < 0x20 || *k > 0x7E || *k == '=') return(kDNSServiceErr_Invalid); 214 keysize = (unsigned long)(k - key); 217 (void)TXTRecordRemoveValue(txtRecord, key); 233 memcpy(p, key, keysize); 249 const char *key 253 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, 71 InternalTXTRecordSearch( uint16_t txtLen, const void *txtRecord, const char *key, unsigned long *keylen ) argument 201 TXTRecordSetValue( TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value ) argument 283 TXTRecordGetValuePtr( uint16_t txtLen, const void *txtRecord, const char *key, uint8_t *valueLen ) argument 311 TXTRecordGetItemAtIndex( uint16_t txtLen, const void *txtRecord, uint16_t itemIndex, uint16_t keyBufLen, char *key, uint8_t *valueLen, const void **value ) argument [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | html.c | 171 tag[0].key = ATTR_CHARSET; 188 tag[0].key = ATTR_REL; 190 tag[1].key = ATTR_HREF; 192 tag[2].key = ATTR_TYPE; 194 tag[3].key = ATTR_MEDIA; 428 print_attr(struct html *h, const char *key, const char *val) argument 430 printf(" %s=\"", key); 472 print_attr(h, htmlattrs[p[i].key], p[i].val); 610 bufcat_style(struct html *h, const char *key, const char *val) argument 613 bufcat(h, key); [all...] |
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 99 char *endptr, key; local 281 key = 0; 291 (void) read(STDIN_FILENO, &key, 1); 353 if (key && !PT_ON_DUMP) { 354 switch (toupper(key)) { 369 toupper(key) == g_curr_sugg->key && 381 /* No key pressed, will suggest something */ 382 if (!key && !dump_count) 413 if (key) [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efi_console.c | 498 EFI_INPUT_KEY key; local 511 /* Try to read a key stroke. We wait for one if none is pending. */ 512 status = conin->ReadKeyStroke(conin, &key); 515 status = conin->ReadKeyStroke(conin, &key); 518 switch (key.ScanCode) { 540 return (key.UnicodeChar);
|
/illumos-gate/usr/src/boot/sys/boot/i386/common/ |
H A D | edd.h | 68 uint16_t key; member in struct:edd_device_path_v3 85 uint16_t key; member in struct:edd_device_path_v4
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | iconv_list.c | 69 cs_insert(char *key) argument 75 tmp.cs_name = key; 86 cs->cs_name = strdup(key);
|