Searched defs:key (Results 76 - 100 of 889) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtmethod.c97 { reg Void_t* key = _DTOBJ(list,disc->link); local
98 key = _DTKEY(key,disc->key,disc->size);
99 list->hash = _DTHSH(dt,key,disc,disc->size);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dsetenviron.c51 char* key = (char*)akey; local
116 if (!key)
120 t = key;
134 *p = key;
135 return (s = strchr(key, '=')) ? s + 1 : (char*)0;
141 if (!(s = strchr(key, '=')))
145 *p = key;
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dupdate.c72 * Pointer to the entry key
81 update_entry_if_required(map_ctrl *map, datum *key) argument
95 if (0 == strncmp(key->dptr, yp_last_modified, yp_last_modified_sz)) {
102 if (is_special_key(key))
105 if (!has_entry_expired(map, key))
110 return (update_from_dit(map, key));
119 * Entry key
127 update_from_dit(map_ctrl *map, datum *key) argument
143 ret = read_from_dit(map->map_name, map->domain, key, &dat);
170 dbm_delete(map->entries, *key);
373 is_special_key(datum *key) argument
[all...]
H A Dyptol_utils.c116 datum key; local
119 key.dptr = str1;
120 key.dsize = strlen(str1);
124 if (dbm_store(fdb, key, content, DBM_REPLACE) != 0) {
127 key.dptr, content.dptr, errno);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaDigest.c121 * Unlike the other crypto functions, we didn't get the key object
124 * not be the slot containing the key -- if the key is extractible we can
132 meta_object_t *key; local
138 rv = meta_handle2object(hKey, &key);
144 /* meta_do_operation() will clone the key, if needed. */
145 rv = meta_do_operation(CKF_DIGEST, MODE_UPDATE_WITHKEY, session, key,
148 OBJRELEASE(key);
H A DmetaSign.c46 meta_object_t *key; local
55 rv = meta_handle2object(hKey, &key);
61 rv = meta_operation_init(CKF_SIGN, session, pMechanism, key);
63 OBJRELEASE(key);
170 meta_object_t *key; local
179 rv = meta_handle2object(hKey, &key);
185 rv = meta_operation_init(CKF_SIGN_RECOVER, session, pMechanism, key);
187 OBJRELEASE(key);
H A DmetaVerify.c46 meta_object_t *key; local
55 rv = meta_handle2object(hKey, &key);
61 rv = meta_operation_init(CKF_VERIFY, session, pMechanism, key);
63 OBJRELEASE(key);
175 meta_object_t *key; local
184 rv = meta_handle2object(hKey, &key);
190 rv = meta_operation_init(CKF_VERIFY_RECOVER, session, pMechanism, key);
192 OBJRELEASE(key);
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_cmn_kvp.c46 * kvp_create(const char *key, const void *value)
48 * const char *key
49 * - key for key/value pair
51 * - value for key/value pair
54 * - pointer to structure containing the key/value pair
58 ns_kvp_create(const char *key, const char *value) argument
63 kvp->key = strdup(key);
73 if (kvp->key !
98 ns_kvp_match_key(const ns_kvp_t *kvp, char *key) argument
120 ns_r_get_value(const char *key, const ns_printer_t *printer, int level) argument
201 ns_get_value(const char *key, const ns_printer_t *printer) argument
212 ns_get_value_string(const char *key, const ns_printer_t *printer) argument
223 ns_set_value(const char *key, const void *value, ns_printer_t *printer) argument
235 ns_set_value_from_string(const char *key, const char *string, ns_printer_t *printer) argument
[all...]
/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/lib/gss_mechs/mech_krb5/crypto/dk/
H A Dstringtokey.c43 const krb5_data *parms, krb5_keyblock *key)
51 /* key->length is checked by krb5_derive_key */
83 foldkey.enctype = key->enctype;
90 /* now derive the key from this one */
95 if ((ret = krb5_derive_key(context, enc, &foldkey, key, &indata)))
96 (void) memset(key->contents, 0, key->length);
39 krb5int_dk_string_to_key( krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *parms, krb5_keyblock *key) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dhmac_md5.c45 const krb5_keyblock *key, krb5_keyusage usage,
63 * Solaris Kerberos: The digest length is that of MD5_CKSUM_LENGTH not the key
65 * length. The signing key is the digest and therefore is also the same
79 ret = krb5_hmac(context, &krb5int_hash_md5, key, 1,
44 k5_hmac_md5_hash(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *iv, const krb5_data *input, krb5_data *output) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derror_map.h18 * key: OM_uint32
26 OM_uint32 key; member in struct:gsserrmap__element
47 (*free_key)(e->key);
54 /* Returns pointer to linked-list entry, or null if key not found. */
56 gsserrmap__find_node (struct gsserrmap__head *head, OM_uint32 key) argument
60 if (compare_OM_uint32 (key, e->key) == 0)
64 /* Returns pointer to value, or null if key not found. */
66 gsserrmap_find (struct gsserrmap__head *head, OM_uint32 key) argument
68 struct gsserrmap__element *e = gsserrmap__find_node(head, key);
86 gsserrmap_replace_or_insert(struct gsserrmap__head *head, OM_uint32 key, char * new_value) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_sendsigned.c30 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/libslp/clib/
H A Dslp_search.c55 struct node { char *key; struct node *llink, *rlink; }; member in struct:node
75 /* Find or insert key into search tree */
77 char *key = (char *)ky; local
79 NODE *q; /* New node if key not found */
84 int r = (*compar)(key, (*rootp)->key); /* T2: */
94 q->key = key; /* Initialize new node */
102 void *key = (char *)ky; local
107 int r = (*compar)(key, (*root
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_mt.cc42 __nisdb_tsd_destroy(void *key) { argument
44 nisdb_tsd_t *tsd = (nisdb_tsd_t *)key;
72 /* Can't store key */
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dhash.c44 nsc_insert_node(hash_node_t **hash, void *data, const char *key) argument
53 node->key = strdup(key);
60 index = calc_hash(key);
78 nsc_lookup(hash_node_t **hash, const char *key) argument
83 index = calc_hash(key);
86 if (strcmp(node->key, key) == 0)
94 nsc_remove_node(hash_node_t **hash, char *key) argument
100 index = calc_hash(key);
158 calc_hash(const char *key) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_update.c64 yp_update(char *domain, char *map, unsigned op, char *key, int keylen, argument
124 args.key.yp_buf_len = keylen;
125 args.key.yp_buf_val = key;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c59 static pthread_key_t key; variable
139 if (pthread_key_create(&key, net_data_destroy) != 0) {
148 net_data = pthread_getspecific(key);
156 if (pthread_setspecific(key, net_data) != 0) {
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dipc.h39 key_t key; /* key */ member in struct:ipc_perm
45 #define IPC_CREAT 0001000 /* create entry if key doesn't exist */
46 #define IPC_EXCL 0002000 /* fail if key exists */
50 #define IPC_PRIVATE (key_t)0 /* private key */
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dtsearch.c41 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; member in struct:node
44 * Find or insert key into search tree
47 * key: Key to be located
52 tsearch(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) argument
54 NODE *q; /* New node if key not found */
59 int r = (*compar)(key, (*rootp)->key); /* T2: */
69 q->key = key; /* Initialize new node */
76 * Delete node with key ke
84 tdelete(POINTER key, NODE **rootp, int (*compar)(POINTER, POINTER)) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dmsgsys.c46 msgget(key_t key, int msgflg) argument
48 return (_syscall(SYS_msgsys, MSGGET, key, msgflg));
75 key_t key; local
87 key = va_arg(ap, key_t);
90 return (msgget(key, msgflag));
H A Dsemsys.c68 semget(key_t key, int nsems, int semflg) argument
70 return (_syscall(SYS_semsys, SEMGET, key, nsems, semflg));
86 key_t key; local
103 key = va_arg(ap, key_t);
107 return (semget(key, nsems, semflg));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpriocntl.c130 int key; local
133 (key = va_arg(valist, int)) != PC_KY_NULL; vpp++) {
137 vpp->pc_key = key;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c94 KMF_KEY_HANDLE *key; local
131 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, num_args);
132 if (key == NULL)
134 if (key->keylabel != NULL)
135 free(key->keylabel);
137 if (key->israw && key->keyp != NULL) {
138 if (key->keyclass == KMF_ASYM_PUB ||
139 key->keyclass == KMF_ASYM_PRI) {
140 kmf_free_raw_key(key
[all...]
/illumos-gate/usr/src/head/rpcsvc/
H A Dypupd.h79 yp_buf key; member in struct:ypupdate_args
87 yp_buf key; member in struct:ypdelete_args

Completed in 124 milliseconds

1234567891011>>