Searched refs:key (Results 51 - 75 of 1341) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstate.c44 krb5_c_init_state (krb5_context context, const krb5_keyblock *key, argument
50 if (krb5_enctypes_list[i].etype == key->enctype)
59 (context, key, keyusage, new_state);
63 krb5_c_free_state (krb5_context context, const krb5_keyblock *key, argument
69 if (krb5_enctypes_list[i].etype == key->enctype)
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Dmboxsc.h86 extern int mboxsc_init(uint32_t key, int direction, void
88 extern int mboxsc_fini(uint32_t key);
89 extern int mboxsc_putmsg(uint32_t key, uint32_t type, uint32_t cmd,
91 extern int mboxsc_getmsg(uint32_t key, uint32_t *type, uint32_t *cmd,
93 extern int mboxsc_ctrl(uint32_t key, uint32_t cmd, void *arg);
H A Diosramio.h66 extern int iosram_rd(uint32_t key, uint32_t off, uint32_t len, caddr_t dptr);
67 extern int iosram_wr(uint32_t key, uint32_t off, uint32_t len, caddr_t dptr);
68 extern int iosram_force_write(uint32_t key, uint32_t off, uint32_t len,
70 extern int iosram_get_flag(uint32_t key, uint8_t *data_valid,
72 extern int iosram_set_flag(uint32_t key, uint8_t data_valid,
75 extern int iosram_register(uint32_t key, void (*handler)(), void *arg);
76 extern int iosram_unregister(uint32_t key);
77 extern int iosram_ctrl(uint32_t key, uint32_t cmd, void *arg);
126 uint32_t key; /* IOSRAM chunk key */ member in struct:iosram_io
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dgethost.c74 if (inet_ntop(argp->key.hostaddr.type, argp->key.hostaddr.addr, addr,
78 (void) snprintf(whoami, len, "%s [key=%s, addrtype=%d]",
79 name, addr, argp->key.hostaddr.type);
90 l1 = e1->key.hostaddr.len;
91 l2 = e2->key.hostaddr.len;
92 res = memcmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr,
98 hostaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument
99 return (db_gethash(key
[all...]
H A Dgetnet.c71 if (argp->key.netaddr.type == AF_INET) {
75 net = htonl(argp->key.netaddr.net);
79 (void) snprintf(whoami, len, "%s [key=%d.%d.%d.%d]",
83 (void) snprintf(whoami, len, "%s [key=%d.%d.%d]",
87 (void) snprintf(whoami, len, "%s [key=%d.%d]",
91 (void) snprintf(whoami, len, "%s [key=%d]",
95 (void) snprintf(whoami, len, "%s [key=%d, %d]",
97 argp->key.netaddr.net, argp->key.netaddr.type);
108 if (e1->key
117 netaddr_gethash(nss_XbyY_key_t *key, int htsize) argument
[all...]
H A Dgetether.c74 if (ether_cmp(e1->key.ether, e2->key.ether) != 0) {
75 res = memcmp(e1->key.ether, e2->key.ether,
83 ether_gethash(nss_XbyY_key_t *key, int htsize) { argument
84 return (db_gethash(key->ether, sizeof (struct ether_addr),
91 e = (struct ether_addr *)argp->key.ether;
92 (void) snprintf(whoami, len, "%s [key=%x:%x:%x:%x:%x:%x]",
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_default.c48 * If kvno is 0 get the key which is maxkvno for the princ and matches
71 /* Get the max key version */
143 krb5_def_store_mkey(context, keyfile, mname, key, master_pwd)
147 krb5_keyblock *key;
187 enctype = key->enctype;
190 (fwrite((krb5_pointer) &key->length,
191 sizeof(key->length), 1, kf) != 1) ||
192 (fwrite((krb5_pointer) key->contents,
193 sizeof(key->contents[0]), (unsigned) key
208 krb5_db_def_fetch_mkey( krb5_context context, krb5_principal mname, krb5_keyblock *key, int *kvno, char *db_args) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c59 * Entry key
67 has_entry_expired(map_ctrl *map, datum *key) argument
78 /* Get expiry time entry for key */
79 ttl = dbm_fetch(map->ttl, *key);
83 * If we failed to get a map expiry key, which must always be
87 if ((key->dsize == strlen(MAP_EXPIRY_KEY)) &&
88 (0 == strncmp(key->dptr, MAP_EXPIRY_KEY, key->dsize))) {
113 * Need to malloc some memory before can syslog the key name
118 "Invalid TTL key i
163 datum key; local
188 update_entry_ttl(map_ctrl *map, datum *key, TTL_TYPE type) argument
238 datum key; local
[all...]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dhash.c63 get_hash(hash *tbl, char *key) argument
69 tmp = tbl->table[bucket = hash_string(key, tbl->size)];
71 tmp = tbl->table[bucket = labs((long)key) % tbl->size];
76 if (strcmp(tmp->key, key) == 0) {
83 if (tmp->key == key) {
95 new->key = ((tbl->hash_type == String_Key)?strdup(key):key);
114 find_hash(hash *tbl, const char *key) argument
137 del_hash(hash *tbl, const char *key) argument
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c151 * |key | | |
239 #define PGR_RESERVATION_HOLDER(pgr, key, it) ( \
241 ((pgr)->pgr_rsvholder) && ((pgr)->pgr_rsvholder == (key)) && \
242 ((key)->pgr_key_it) && ((key)->pgr_key_it == (it))))
272 sbd_swap_pgrkey_info(sbd_pgr_key_info_t *key) argument
274 key->pgr_key = BSWAP_64(key->pgr_key);
275 key->pgr_key_lpt_len = BSWAP_16(key
303 sbd_pgr_key_t *key, *last_key = NULL; local
430 sbd_pgr_key_t *key; local
518 sbd_pgr_key_t *key; local
541 sbd_pgr_key_free(sbd_pgr_key_t *key) argument
557 sbd_pgr_key_t *key; local
592 sbd_pgr_remove_key(sbd_lu_t *slu, sbd_pgr_key_t *key) argument
637 sbd_pgr_key_t *nextkey, *key = pgr->pgr_keylist; local
710 sbd_pgr_key_compare(sbd_pgr_key_t *key, scsi_devid_desc_t *lpt, stmf_remote_port_t *rpt) argument
737 sbd_pgr_key_t *key; local
753 sbd_pgr_key_t *key; local
963 sbd_pgr_key_t *key; local
1068 sbd_pgr_key_t *key; local
1174 sbd_pgr_key_t *key; local
1238 sbd_pgr_key_t *key = it->pgr_key_ptr; local
1411 sbd_pgr_key_t *key; local
1447 sbd_pgr_do_unregister(sbd_lu_t *slu, sbd_it_data_t *it, sbd_pgr_key_t *key) argument
1467 sbd_pgr_key_t *key = it->pgr_key_ptr; local
1507 sbd_pgr_do_reserve(sbd_pgr_t *pgr, sbd_pgr_key_t *key, sbd_it_data_t *it, stmf_scsi_session_t *ses, scsi_cdb_prout_t *pr_out) argument
1547 sbd_pgr_key_t *key = it->pgr_key_ptr; local
1624 sbd_pgr_key_t *key = it->pgr_key_ptr; local
1743 sbd_pgr_key_t *key = it->pgr_key_ptr; local
1861 sbd_pgr_key_t *key = it->pgr_key_ptr; local
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dconfig.c74 char *key; member in struct:configlist
95 char *p, *key; local
122 key = p;
171 result = _sasl_strdup(key,
173 [gctx->nconfiglist].key),
178 result = _sasl_strdup(key,
179 &(configlist[nconfiglist].key),
190 [gctx->nconfiglist].key);
239 if ((((struct configlist *)gctx->configlist))[i].key)
240 sasl_FREE(((struct configlist *)gctx->configlist)[i].key);
249 sasl_config_getstring(_sasl_global_context_t *gctx, const char *key, const char *def) argument
263 sasl_config_getstring(const char *key,const char *def) argument
277 sasl_config_getint(_sasl_global_context_t *gctx, const char *key,int def) argument
294 sasl_config_getswitch(_sasl_global_context_t *gctx,const char *key,int def) argument
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DBSTItem.java38 public String key; field in class:BSTItem
50 key = newKey.toLowerCase();
56 return new String("Item " + key + " (" + handle + ")");
61 return compare(otherItem.key, exact);
85 key.compareTo(otherKey) :
90 * "Compare: " + key + " to " + otherKey + " -> " + rv);
98 Debug.info("HELP: compareSub: " + key + " to " + s);
102 rv = key.substring(0, s.length()).compareTo(s);
/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/cmd/sendmail/db/dbm/
H A Ddbm.c102 __db_dbm_fetch(key)
103 datum key;
112 return (dbm_fetch(__cur_db, key));
129 __db_dbm_nextkey(key)
130 datum key;
134 COMPQUIET(key.dsize, 0);
145 __db_dbm_delete(key)
146 datum key;
152 return (dbm_delete(__cur_db, key));
156 __db_dbm_store(key, da
293 datum key; local
328 datum key; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Def_crypto.c17 long length, krb5_keyblock *key,
27 ASSERT(key != NULL);
28 ASSERT(key->contents != NULL);
45 mech.cm_type = key->kef_mt;
49 (long long)key->kef_mt);
63 &key->kef_key,
64 key->key_tmpl,
69 &key->kef_key,
70 key->key_tmpl,
16 k5_ef_crypto(const char *in, char *out, long length, krb5_keyblock *key, const krb5_data *ivec, int encrypt_flag) argument
/illumos-gate/usr/src/cmd/cron/
H A Delm.c84 * 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/lib/nsswitch/files/common/
H A Dtsol_getrhent.c46 keyp = args->key.hostaddr.addr;
100 if (argp->key.hostaddr.addr == NULL ||
101 (argp->key.hostaddr.type != AF_INET &&
102 argp->key.hostaddr.type != AF_INET6))
104 if (strchr(argp->key.hostaddr.addr, ':') != NULL) {
106 if (argp->key.hostaddr.type == AF_INET)
108 escape_colon(argp->key.hostaddr.addr, addr6);
109 /* save the key in original format */
110 addr = argp->key.hostaddr.addr;
111 /* Replace the key wit
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/old/
H A Ddes_stringtokey.c44 krb5_keyblock *key)
56 return(mit_des_string_to_key_int(context, key, string, salt));
59 return mit_afs_string_to_key(context, key, string, salt);
40 krb5int_des_string_to_key(krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *parm, krb5_keyblock *key) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgen_seqnum.c33 * We do this by getting a random key and encrypting something with it,
44 krb5_generate_seq_number(krb5_context context, const krb5_keyblock *key, krb5_ui_4 *seqno) argument
55 seed.length = key->length;
56 seed.data = key->contents;
/illumos-gate/usr/src/lib/libsasl/include/
H A Dhmac-md5.h37 * digest may be same as text or key
40 const unsigned char *key, int key_len,
43 /* create context from key
46 const unsigned char *key, int key_len);
48 /* precalculate intermediate state from key
51 const unsigned char *key, int key_len);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dbsearch.c36 bsearch(key, base, nel, width, compar)
37 POINTER key; /* Key to be located */
49 register int res = (*compar)(key, p);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlsearch.c58 char *key = (char *)ky; local
64 if ((*compar)(key, base) == 0)
67 res = memcpy(base, key, width); /* base now == next */
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddefault_state.c42 (krb5_context context, const krb5_keyblock *key,
50 /* We need to copy in the key for des-cbc-cr--ick, but that's how it works*/
51 if (key->enctype == ENCTYPE_DES_CBC_CRC) {
53 (void) memcpy (new_state->data, key->contents, new_state->length);
41 krb5int_des_init_state(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, krb5_data *new_state ) argument
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dchecksum.c39 * Derive the key for checksum calculation.
50 const krb5_keyblock *key,
60 (krb5_keyblock *)key);
64 *outkey = krb5_create_derived_keyblock(key->length);
77 ret = krb5_derive_key(context, enc, key,
102 ret = add_derived_key((krb5_keyblock *)key, usage,
113 krb5_dk_make_checksum(context, hash, key, usage, input, output)
116 krb5_const krb5_keyblock *key;
129 if (krb5_enctypes_list[i].etype == key->enctype)
135 key
48 derive_cksum_key(krb5_context context, struct krb5_enc_provider *enc, const krb5_keyblock *key, krb5_keyusage usage, krb5_keyblock **outkey) argument
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Ddes_crypt.h74 * The key should have odd parity in the low bit of each byte.
87 int cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec);
97 int ecb_crypt(char *key, char *buf, size_t len, unsigned int mode);
105 * Set des parity for a key.
109 void des_setparity(char *key);

Completed in 81 milliseconds

1234567891011>>