Searched refs:key (Results 76 - 100 of 1341) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c91 kdb2_fetch(key)
92 datum key;
102 return (kdb2_dbm_fetch(__cur_db, key));
120 kdb2_nextkey(key)
121 datum key;
135 kdb2_delete(key)
136 datum key;
142 return (kdb2_dbm_delete(__cur_db, key));
146 kdb2_store(key, dat)
147 datum key, da
[all...]
/illumos-gate/usr/src/lib/hal/libhal/common/
H A Dlibhal.h162 * @key: name of the property that has changed
170 const char *key,
249 const char *key,
255 const char *key,
261 const char *key,
267 const char *key,
273 const char *key,
279 const char *key,
285 const char *key,
291 const char *key,
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dderive.c38 * Search for a derived key based on the input key,
41 * Return *derived key on success, NULL on failure.
45 krb5_keyblock *key)
47 krb5_dk_node *dknode = key->dk_list;
64 * Add a derived key to the dk_list for the indicated key.
67 add_derived_key(krb5_keyblock *key, argument
75 if (key->dk_list == NULL) {
76 key
44 find_derived_key(krb5_keyusage usage, uchar_t dkid, krb5_keyblock *key) argument
107 krb5_keyblock *key = MALLOC(sizeof(krb5_keyblock)); local
136 init_derived_keydata(krb5_context context, const struct krb5_enc_provider *enc, krb5_keyblock *key, krb5_keyusage usage, krb5_keyblock **d_encr_key, krb5_keyblock **d_hmac_key) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_hooks.h54 extern int shim_dbm_delete(DBM *db, datum key);
55 extern datum shim_dbm_fetch(DBM *db, datum key);
56 extern datum shim_dbm_fetch_noupdate(DBM *db, datum key);
62 extern int shim_dbm_store(DBM *db, datum key, datum content,
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dnsc_hash.h35 char *key; member in struct:hash_node_s
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgai_strerror.c58 static pthread_key_t key;
71 if (pthread_key_create(&key, free) != 0) {
81 buf = pthread_getspecific(key);
86 if (pthread_setspecific(key, buf) != 0) {
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dsec.h9 void hmac_md5(unsigned char *text, int text_len, unsigned char *key,
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Dypupdate_prot.x54 yp_buf key;
60 yp_buf key;
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes.h42 typedef uint32_t DES_KS[16][2]; /* Single-key DES key schedule */
45 extern void des_key(DES_KS k, const unsigned char key[DES_KEY_SIZE],
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c33 converts the string pointed to by "data" into an encryption key
34 of type "enctype". *keyblock is filled in with the key info;
37 when the generated key no longer needed.
43 key of type "enctype", an error may be returned.
56 register krb5_octet *key; local
72 key = keyblock->contents;
102 /* convert to des key */
106 /* init key array for bits */
120 /* get next input key byte */
140 /* now stuff into the key mit_des_cbloc
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_getalias.c110 * Match key to alias
113 yp_getalias(key, key_alias, maxlen)
114 char *key;
124 strcpy(key_alias, key);
128 if (key == NULL || first_time)
132 strcpy(key_alias, key);
144 if (strcmp(longname, key) == 0) {
160 * Match alias to key
163 yp_getkey(key_alias, key, maxlen)
165 char *key;
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dsuntpi.c45 * Use the first element in the key for the hash.
83 * passes back the size of the generated key in *keylenp. This routine
87 * _absolutely_ guarantee that the key below uniquely identifies an
99 static uintptr_t *key = NULL; local
113 if (key == NULL)
114 key = kmem_alloc((nstrpush + 1) * sizeof (uintptr_t), KM_SLEEP);
116 ASSERT(key != NULL);
125 key[i] = (uintptr_t)q->q_qinfo->qi_minfo;
129 * Allocate the actual key with the proper length, and pass it
133 return ((void *)key);
147 void *key; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c114 POINTER key; member in struct:entry
175 new->key = malloc((unsigned) strlen(line) + 1);
176 if(new->key == NULL) {
180 strcpy(new->key, line);
194 printf("Key = %s, Value = %d\n", res->key, *res->data);
257 i = HASH(item.key); /* Primary hash on key */
264 if(table[i].key == NULL) /* Empty slot? */
266 else if(COMPARE(table[i].key, item.key)
440 hashd(POINTER key) argument
459 hashm(POINTER key) argument
486 hash2m(POINTER key) argument
495 crunch(POINTER key) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_lookup.c44 char *key,
83 found = (rddir_entry_lookup(key, rdcp->entp) != NULL);
110 err = getmapent(key, mapname, &ml, stack, &stkptr, &iswildcard,
113 mapents = parse_entry(key, mapname, mapopts, &ml,
125 if (*key == '=' && uid == 0) {
126 if (isdigit(*(key+1))) {
131 trace = atoi(key+1);
134 } else if (*(key+1) == 'v') {
42 do_lookup1( char *mapname, char *key, char *subdir, char *mapopts, char *path, uint_t isdirect, uid_t uid, autofs_action_t *action, struct linka *linkp) argument
/illumos-gate/usr/src/uts/common/fs/
H A Dpkp_hash.c58 uint_t key = 0x12345678; /* arbitrary value */ local
62 hash = MOD2((key + len), PKP_HASH_SIZE);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.h10 krb5_data *key,
30 krb5_data *key);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_xdr.h10 krb5_data *key,
30 krb5_data *key);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dmtctxres.c20 static pthread_key_t key; variable
35 * Initialize the TSD key. By doing this at library load time, we're
43 pthread_keycreate_ret = pthread_key_create(&key, __res_destroy_ctx);
72 if (pthread_getspecific(key) != 0) {
84 if ((ret = pthread_setspecific(key, mt)) != 0) {
127 if (((mt = pthread_getspecific(key)) != 0) ||
129 (mt = pthread_getspecific(key)) != 0)) {
/illumos-gate/usr/src/cmd/nscd/
H A Dgetproject.c69 return (_NSC_INT_KEY_CMP(e1->key.projid, e2->key.projid));
73 projid_gethash(nss_XbyY_key_t *key, int htsize) { argument
74 return (db_gethash(&key->projid, sizeof (key->projid), htsize));
79 (void) snprintf(whoami, len, "%s [key=%d]", name, argp->key.projid);
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_iface.c70 __db_cgetchk(dbp, key, data, flags, isvalid)
72 DBT *key, *data;
114 /* Check for invalid key/data flags. */
115 if ((ret = __dbt_ferr(dbp, "key", key, 0)) != 0)
121 if (key_einval && (key->data == NULL || key->size == 0))
139 __db_cputchk(dbp, key, data, flags, isrdonly, isvalid)
141 const DBT *key;
182 /* Check for invalid key/dat
[all...]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dhash.c54 get_hash(Hash_tbl * tbl, Addr key, Half id, int mode) argument
61 hashval = elf_hash((const char *)key);
63 hashval = key;
72 (const char *)key) == 0) && ((id == 0) ||
76 if (ent->e_key == key)
90 ent->e_key = key;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddecrypt.c37 krb5_c_decrypt(krb5_context context, const krb5_keyblock *key, argument
45 if (krb5_enctypes_list[i].etype == key->enctype)
60 if (key->kef_key.ck_data == NULL)
61 ret = init_key_kef(context->kef_cipher_mt, (krb5_keyblock *)key);
66 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key)))
74 key, usage, ivec, &input->ciphertext, output));
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dold.h43 const krb5_keyblock *key, krb5_keyusage usage,
51 const krb5_keyblock *key, krb5_keyusage usage,
61 krb5_keyblock *key);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c80 * Make a copy of the signature or verification key, and save it
83 * on this original key while doing signing/verification.
98 dsa_ctx->key = tmp_key;
117 local_dsa_sign(soft_object_t *key, CK_BYTE_PTR in, CK_ULONG inlen, argument
131 rv = soft_get_private_value(key, CKA_PRIME, p, &plen);
136 rv = soft_get_private_value(key, CKA_SUBPRIME, q, &qlen);
141 rv = soft_get_private_value(key, CKA_BASE, g, &glen);
146 rv = soft_get_private_value(key, CKA_VALUE, x, &xlen);
168 local_dsa_verify(soft_object_t *key, CK_BYTE_PTR data, CK_BYTE_PTR sig) argument
181 rv = soft_get_public_value(key, CKA_PRIM
228 soft_object_t *key = dsa_ctx->key; local
282 soft_object_t *key = dsa_ctx->key; local
331 soft_object_t *key = dsa_ctx->key; local
373 soft_object_t *key = dsa_ctx->key; local
405 soft_genDSAkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *value, uint32_t value_len, boolean_t public) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dconf.sh254 *VERSION*)key=${standard}${section} ;;
255 *) key= ;;
257 case $key in
258 ''|*_) key=${key}${name} ;;
259 *) key=${key}_${name} ;;
261 eval sys='$'CONF_call_${key}
269 key=${sys}_${key}
[all...]

Completed in 117 milliseconds

1234567891011>>