/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_principal.c | 468 * The kadmin client utility uses a specific set of key/salt tuples, 471 * being called twice - once with the specific key/salts specified by 480 krb5_keyblock **key, 491 if (key) 492 *key = NULL; 504 if (key) 505 krb5_copy_keyblock(handle->context, &r->key, key); 506 } else if (key && (r->n_keys > 0)) { 507 *key 478 kadm5_randkey_principal_old(void *server_handle, krb5_principal princ, krb5_keyblock **key, int *n_keys) argument 529 kadm5_randkey_principal_3(void *server_handle, krb5_principal princ, krb5_boolean keepold, int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, krb5_keyblock **key, int *n_keys) argument 588 kadm5_randkey_principal(void *server_handle, krb5_principal princ, krb5_keyblock **key, int *n_keys) argument [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_verify.c | 115 *\li key tsig key used for verifying. 126 *\li - key doesn't match (-ns_r_badkey) 140 DST_KEY *key = (DST_KEY *)k; local 162 /* Read the key name. */ 217 /* Verify that the key used is OK. */ 218 if (key != NULL) { 219 if (key->dk_alg != KEY_HMAC_MD5) 222 if (ns_samename(key->dk_key_name, name) != 1) 233 if (key ! [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_data.c | 229 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, argument 237 return (res_nsendsigned(&_res, buf, buflen, key, ans, anssiz));
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | md5.c | 367 const unsigned char *key, 371 * key XORd with ipad 374 * key XORd with opad 378 /* if key is longer than 64 bytes reset it to key=MD5(key) */ 384 _sasl_MD5Update(&tctx, key, key_len); 387 key = tk; 396 * where K is an n byte key 402 /* start out by storing key i 366 _sasl_hmac_md5_init(HMAC_MD5_CTX *hmac, const unsigned char *key, int key_len) argument 436 _sasl_hmac_md5_precalc(HMAC_MD5_STATE *state, const unsigned char *key, int key_len) argument [all...] |
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 42 * kva_match(): Given a key-value array and a key, return a pointer to the 43 * value that matches the key. 46 kva_match(kva_t *kva, char *key) argument 51 if (kva == NULL || key == NULL) { 56 if (strcmp(data[i].key, key) == 0) { 78 if (data[i].key != NULL) { 79 free(data[i].key); 80 data[i].key 96 _kva_free_value(kva_t *kva, char *key) argument 149 char *key; local 233 _insert2kva(kva_t *kva, char *key, char *value) argument [all...] |
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | slpd.java | 135 protected Object handleGetObject(String key) argument 141 ret = bundle.getObject(key); 144 ret = parent.getObject(key);
|
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des_crypt.c | 79 * Permuted-choice 1 from the key bits 99 * Sequence of shifts used for the key schedule. 105 * the CD array that generate the key schedule. 122 * The C and D arrays used to calculate the key schedule. 128 * The key schedule. 129 * Generated from the key. 149 * Set up the key schedule from the key. 155 des_setkey_nolock(const char *key) argument 162 * the key 203 des_setkey(const char *key) argument 335 static thread_key_t key = THR_ONCE_KEY; local [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tgetch.c | 49 * Read a key typed from the terminal 51 * interpret: = 0 for single-char key only 52 * = 1 for matching function key and macro patterns. 97 * a key that starts with -1. Also, we don't want to 184 * the list, making the access to a repeated key very fast and 192 int key, num_keys = cur_term->_ksz; local 207 key = 0; 209 key = cur_term->_first_macro; 212 first = key; 214 for (; key < num_key [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | PrintaRecord.java | 277 * @param key aggregation tuple 287 getFormattedString(Tuple key) argument 292 return formattedStrings.get(key); 308 * @see #getFormattedString(Tuple key) 364 * AggregationRecord with the same tuple key as the given record.
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | reg_compile.c | 72 static thread_key_t key = THR_ONCE_KEY; variable 99 vars_storage *vars = _get_vars_storage(&key); 110 vars_storage *vars = _get_vars_storage(&key); 121 vars_storage *vars = _get_vars_storage(&key);
|
H A D | reg_step.c | 53 static thread_key_t key = THR_ONCE_KEY; variable 97 vars_storage *vars = _get_vars_storage(&key); 108 vars_storage *vars = _get_vars_storage(&key); 119 vars_storage *vars = _get_vars_storage(&key); 130 vars_storage *vars = _get_vars_storage(&key); 141 vars_storage *vars = _get_vars_storage(&key);
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | misc.c | 186 int key; local 211 if ((key = keyword - rtsa_keywords) == SAK_INVAL) { 216 if ((key == SAK_CIPSO && *valptr == '=') || 217 (key != SAK_CIPSO && *valptr != '=')) { 237 switch (key) {
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | private.h | 132 short key; /* KEY_ value or 0. */ member in struct:t_decode
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | private.h | 117 short key; /* KEY_ value or 0. */ member in struct:t_decode
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_fru.c | 86 fru_strhash(const char *key) argument 91 for (p = key; *p != '\0'; p++) {
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 234 int key = 0; local 241 key += *s; 243 key %= (sizeof (table->keys) / sizeof (table->keys[0])); 246 *keyp = key; 248 for (pp = &table->keys[key]; (it = *pp) != 0; pp = &it->next) { 272 int key; local 278 if ((*(pp = __find_item_mt(item->name, table, &key))) != 0) { 297 item->keychain = key;
|
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | xcrypt.c | 64 * bits of key data, which amounts to 128 bytes. 67 * 144 bytes (128key + 16checksum) to accomadate all the 128 bytes 75 * Encrypt a secret key given passwd 76 * The secret key is passed and returned in hex notation. 84 char key[8]; local 95 (void) passwd2des(passwd, key); 98 err = cbc_crypt(key, buf, len, DES_ENCRYPT | DES_HW, ivec); 109 * Decrypt secret key using passwd 110 * The secret key is passed and returned in hex notation. 118 char key[ local 249 des_block key; local 353 des_block key; local 432 passwd2des_g( const char *pw, const char *mixin, int len, des_block *key, bool_t altalg) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 125 forder(datum key) argument 129 hash = calchash(key); 140 fetch(datum key) argument 145 dbm_access(calchash(key)); 151 if (cmpdatum(key, item) == 0) { 161 delete(datum key) argument 168 dbm_access(calchash(key)); 173 if (cmpdatum(key, item) == 0) { 185 store(datum key, datum dat) argument 194 dbm_access(calchash(key)); 261 nextkey(datum key) argument [all...] |
H A D | yp_match.c | 65 char *key; member in struct:cache 83 if (n->key != 0) 84 free(n->key); 108 ((n->key = malloc(keylen)) == 0) || 122 in_cache(char *domain, char *map, char *key, int keylen, char **val, argument 139 (memcmp(key, c->key, (size_t)keylen) == 0) && 171 * the passed key datum in the named map, and to return the associated value 176 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, argument 199 (key 303 yp_match( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 354 __yp_match_rsvdport_cflookup( char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument 488 yp_match_rsvdport( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 506 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | dict.c | 31 * arbitrary key-value mappings. It is used by libpool to store 73 * A key bucket. 77 const void *db_key; /* key */ 83 * A dictionary which holds a mapping between a key and a value. 87 * dh_buckets - key storage 184 hash_addr(const void *key) argument 186 return (hash_buf(&key, sizeof (key))); 289 * Get a value from the hash. Null is returned if the key cannot be 293 dict_get(dict_hdl_t *hdl, const void *key) argument 311 dict_put(dict_hdl_t *hdl, const void *key, void *value) argument 341 dict_remove(dict_hdl_t *hdl, const void *key) argument [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppop.c | 62 * initialize hash table with keywords from key 66 inithash(register Hash_table_t* tab, register struct ppkeyword* key) argument 70 for (; s = key->name; key++) 74 hashput(tab, s, key->value); 341 struct ppsymkey* key; local 474 if (key = ppkeyset(pp.symtab, s)) 476 key->sym.flags = n; 477 key->lex = kp->value; 1363 op = ((key [all...] |
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcpersist.c | 77 char key[ CFG_MAX_KEY ]; local 89 snprintf(key, CFG_MAX_KEY, "sndr.set%d", set); 90 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF)) { 511 char key[CFG_MAX_KEY]; local 517 bzero(key, CFG_MAX_KEY); 518 snprintf(key, CFG_MAX_KEY, "sndr.set%d.shost", setnum); 519 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) { 526 bzero(key, CFG_MAX_KEY); 527 snprintf(key, CFG_MAX_KEY, "sndr.set%d.secondary", setnum); 528 if (cfg_get_cstring(cfg, key, bu 544 char key[CFG_MAX_KEY]; local 581 char key[CFG_MAX_KEY]; local 650 char key[CFG_MAX_KEY]; local [all...] |
H A D | rdcrules.c | 93 char key[CFG_MAX_KEY]; local 114 snprintf(key, sizeof (key), "ii.set%d", setnumber); 115 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) 145 snprintf(key, sizeof (key), "sndr.set%d", setnumber); 146 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0)
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | hmac_link.c | 81 * priv_key key to use for signing. 98 HMAC_Key *key; local 112 key = (HMAC_Key *) d_key->dk_KEY_struct; 116 MD5Update(ctx, key->hk_ipad, HMAC_LEN); 129 MD5Update(ctx, key->hk_opad, HMAC_LEN); 152 * dkey key to use for verify. 167 HMAC_Key *key; local 180 key = (HMAC_Key *) d_key->dk_KEY_struct; 183 MD5Update(ctx, key->hk_ipad, HMAC_LEN); 190 if (signature == NULL || key 226 dst_buffer_to_hmac_md5(DST_KEY *dkey, const u_char *key, const int keylen) argument 286 u_char key[HMAC_LEN]; local 348 u_char key[HMAC_LEN+1]; /* b64_pton needs more than 64 bytes do decode local 434 dst_hmac_md5_free_key_structure(void *key) argument 450 dst_hmac_md5_generate_key(DST_KEY *key, const int nothing) argument [all...] |
H A D | support.c | 98 dst_s_id_calc(const u_char *key, const int keysize) argument 101 const u_char *kp = key; 104 if (!key || (keysize <= 0)) 124 * the key footprint/id calculated from the key data 140 /* compute a checksum on the key part of the key rr */ 225 * filename for a key file. '/', '\' and ':' are not allowed. 254 * Builds a key filename from the key nam [all...] |