/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 283 crypto_key_t *key; local 297 key = kmem_alloc(len, kmflag); 298 if (key == NULL) 300 k_attrs = (crypto_object_attribute_t *)(void *)((caddr_t)key + 314 key->ck_format = CRYPTO_KEY_ATTR_LIST; 315 key->ck_count = count; 316 key->ck_attrs = k_attrs; 317 *out_key = key; 540 * in the key. 543 crypto_get_key_attr(crypto_key_t *key, crypto_attr_type_ argument [all...] |
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dttree.c | 43 Void_t *o, *k, *key; local 95 { key = _DTKEY(obj,ky,sz); 98 if(_DTCMP(dt,key,k,disc,cmpf,sz) != 0) 110 { key = (type&DT_MATCH) ? obj : _DTKEY(obj,ky,sz); 117 key = _DTKEY(obj,ky,sz); 122 { key = _DTKEY(obj,ky,sz); 129 if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) == 0) 171 if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) == 0) 176 if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) < 0) 203 if((cmp = _DTCMP(dt,key, [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_umap.c | 137 uint64_t key, value; local 159 * system PAGESIZE). Shifting these off leaves us with a "key". 160 * The "key" is actually a combination of both a real key value 164 key = off >> PAGESHIFT; 165 type = key & MLNX_UMAP_RSRC_TYPE_MASK; 166 key = key >> MLNX_UMAP_RSRC_TYPE_SHIFT; 174 status = hermon_umap_db_find(instance, key, type, &value, 0, NULL); 184 if (key ! 464 uint64_t key; local 667 uint64_t key, value; local 869 uint64_t key; local 1066 uint64_t key, value; local 1837 hermon_umap_db_alloc(uint_t instance, uint64_t key, uint_t type, uint64_t value) argument 1925 hermon_umap_db_find(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flag, hermon_umap_db_entry_t **umapdb) argument 1944 hermon_umap_db_find_nolock(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flags, hermon_umap_db_entry_t **umapdb) argument [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 90 __get_item(hashp, cursorp, key, val, item_info) 93 DBT *key, *val; 138 key->size = hashp->hdr.bsize - 141 key->size = DATA_OFF(cursorp->pagep, i) - 151 key->data = KEY(cursorp->pagep, cursorp->pgndx); 196 __get_item_first(hashp, cursorp, key, val, item_info) 199 DBT *key, *val; 204 return (__get_item_next(hashp, cursorp, key, val, item_info)); 208 * Returns a pointer to key/data pair on a page. In the case of bigkeys, 212 __get_item_next(hashp, cursorp, key, va 447 DBT key, val; local 525 __addel(HTAB *hashp, ITEM_INFO *item_info, const DBT *key, const DBT *val, u_int32_t num_items, const u_int8_t expanding) argument [all...] |
H A D | hash.c | 519 "hdestroy: big key/data pages %ld\n"), hash_bigpages); 536 /* Free the big key and big data returns */ 644 * 1 to indicate an external ERROR (i.e. key not found, etc) 651 hash_get(dbp, key, data, flag) 653 const DBT *key; 664 return (hash_access(hashp, HASH_GET, key, data)); 668 hash_put(dbp, key, data, flag) 670 DBT *key; 686 HASH_PUTNEW : HASH_PUT, key, (DBT *)data)); 690 hash_delete(dbp, key, fla [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getgrent.c | 43 name = argp->key.name; 68 return ((uint_t)argp->key.gid); 101 const char *keyp = argp->key.name; 152 return ((gid_t)gr_gid == argp->key.gid); 162 if (argp->key.gid > MAXUID)
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_sendsigned.c | 30 ns_tsig_key *key, u_char *answer, int anslen) 62 if (ns_samename(key->alg, NS_TSIG_ALG_HMAC_MD5) != 1) 65 dstkey = dst_buffer_to_key(key->name, KEY_HMAC_MD5, 68 key->data, key->len); 29 res_nsendsigned(res_state statp, const u_char *msg, int msglen, ns_tsig_key *key, u_char *answer, int anslen) argument
|
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | cryptio.c | 54 static char key[KSIZE+1]; variable 75 (void) strncpy(key, keyparam, KSIZE); 76 if (*key == 0) { 81 if (writekey(p, key) == -1) { 163 a = key;
|
/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/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 | ypxfrd_server.c | 64 datum key; member in struct:mycon 211 datum key, val; local 213 key.dptr = yp_secure; 214 key.dsize = yp_secure_sz; 215 val = shim_dbm_fetch((DBM *)m.map, key); 228 m.key = shim_dbm_firstkey((DBM *)m.map); 364 for (; m->key.dptr; 365 m->key = shim_dbm_do_nextkey((DBM *)m->map, m->key)) { 376 /* advance key o [all...] |
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 66 pt_sugg_add(char *text, int weight, char key, char *sb_msg, sugg_func_t *func) argument 90 new->key = key; 117 new->key = key;
|
/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/crypt/ |
H A D | crypt.c | 113 char key[8]; local 118 if ((buf = (char *)getpass("Enter key:")) == NULL) { 130 if (read(0, key, 8) != 8) 132 setup(key); 141 (void) strncpy(key, s, 8); 142 setup(key); 147 "usage: crypt [ -k ] [ key]\n");
|
/illumos-gate/usr/src/cmd/sendmail/include/libsmdb/ |
H A D | smdb.h | 65 ** DB_DEL_FUNC -- removes a key and data pair from the database 69 ** key -- The key to remove. 79 SMDB_DBENT *key, unsigned int flags)); 96 ** DB_GET_FUNC -- Gets the data associated with a key. 100 ** key -- The key to access. 111 SMDB_DBENT *key, 115 ** DB_PUT_FUNC -- Sets some data according to the key. 119 ** key [all...] |
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb2.c | 243 smdb2_del(database, key, flags) 245 SMDB_DBENT *key; 252 dbkey.data = key->data; 253 dbkey.size = key->size; 277 smdb2_get(database, key, data, flags) 279 SMDB_DBENT *key; 289 dbkey.data = key->data; 290 dbkey.size = key->size; 299 smdb2_put(database, key, data, flags) 301 SMDB_DBENT *key; [all...] |
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | parse.cc | 147 char *key; local 177 key = cp; 181 switch (do_lookup(key, Keywords)) { 215 Err(MGET("ambiguous keyword: %s\n"), key); 221 Err(MGET("invalid keyword: %s\n"), key);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 72 krb5_arcfour_encrypt(context, enc, hash, key, usage, ivec, input, output) 76 const krb5_keyblock *key; 96 * d1 is the contents buffer for key k1. 103 bcopy(key, &k1, sizeof (krb5_keyblock)); 108 * d2 is the contents of key 'k2', which is used to generate the 113 if (key->enctype==ENCTYPE_ARCFOUR_HMAC_EXP) { 120 bcopy(key, &k2, sizeof (krb5_keyblock)); 126 * d3 will hold the contents of the final key used for the 127 * encryption step. 'k3' is the key structure that has 'd3' 139 bcopy(key, [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | svcauthdes.c | 83 #define HASH(key) ((key) & (authdes_cachesz - 1)) 91 des_block key; /* conversation key */ member in struct:authdes_cache_entry 181 cred->adc_fullname.key.key.high = (uint32_t)*ixdr++; 182 cred->adc_fullname.key.key.low = (uint32_t)*ixdr++; 199 verf.adv_xtimestamp.key.high = (uint32_t)*ixdr++; 200 verf.adv_xtimestamp.key [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_hash.c | 129 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)]; 138 (*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)); 183 if (!(*cp->cfunc)((void *)bp->itempp[i]->key, datap, datalen)) 268 if (itemp->key) 269 (void) (*cp->kffunc)(itemp->key); 289 void *datap = itemp->key; 303 if (!(*cp->cfunc)((void *)bp->itempp[iidx]->key, datap, 309 if (titemp->key) 310 (void) (*cp->kffunc)(titemp->key); 390 (*pfunc)(itemp->key, item [all...] |
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrsubr.c | 342 char key[CFG_MAX_KEY]; local 348 bzero(&key, sizeof (key)); 350 (void) sprintf(key, "sndr.set%d.group", i); 351 if (cfg_get_cstring(cfg, key, &buf, sizeof (buf)) < 0) 354 (void) sprintf(key, "sndr.set%d.diskq", i); 355 if (cfg_get_cstring(cfg, key, diskq, CFG_MAX_BUF) < 0) { 368 char key[CFG_MAX_KEY]; local 385 (void) snprintf(key, CFG_MAX_KEY, "sndr.set%d.options", setnum); 386 if (cfg_get_single_option(cfg, CFG_SEC_CONF, key, "seti [all...] |
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 158 long key,clearKey; local 182 * Do we have a key? 188 || (key = atol(s_key)) <= 0 206 printf(" -k: do not use the key for making status ok\n"); 216 clearKey = key; 267 * Which printer is this? Do we have a key? 276 printf( "start lp.tell for %s key %d mode %s %s\n", 277 printer,key,(useLaserWriterMessages ? "LW" : "standard"), 281 printf( "paper_changed (%s) status (%s) key %d \n", 338 printf("Send fault: %s key [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_recno.c | 196 __ram_delete(dbp, txn, key, flags) 199 DBT *key; 211 key, flags, F_ISSET(dbp, DB_AM_RDONLY))) != 0) 218 DEBUG_LWRITE(dbc, txn, "ram_delete", key, NULL, flags); 221 if ((ret = __ram_getno(dbc, key, &recno, 0)) != 0) 276 /* Search the tree for the key; delete only deletes exact matches. */ 353 __ram_put(dbp, txn, key, data, flags) 356 DBT *key, *data; 367 key, data, flags, F_ISSET(dbp, DB_AM_RDONLY), 0)) != 0) 374 DEBUG_LWRITE(dbc, txn, "ram_put", key, dat 999 DBT key, data; local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5sealv3.c | 104 krb5_keyblock *key; local 118 key = ctx->acceptor_subkey; 120 key = ctx->enc; 124 context->kef_cipher_mt = get_cipher_mech_type(context, key); 125 context->kef_hash_mt = get_hash_mech_type(context, key); 127 if ((err = init_key_kef(context->kef_cipher_mt, key))) { 204 cipher.enctype = key->enctype; 205 err = krb5_c_encrypt(context, key, key_usage, 0, &plain, &cipher); 283 err = krb5_c_make_checksum(context, ctx->cksumtype, key, 364 krb5_keyblock *key; local [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 58 char *key; member in struct:lh_prop_s 450 char *key, *s_val = NULL; local 464 s = skip_non_eq_or_space(key = s); 466 if (!*key) 469 if (*key == '#') 481 p->key = strdup(key); 536 free(p->key); 555 if (!strcmp(p->key, "udi") && p->type == LIBHAL_PROPERTY_TYPE_STRING) { 560 old_type = libhal_device_get_property_type(hal_ctx, nd->real_udi, p->key, [all...] |