Searched defs:key (Results 151 - 175 of 889) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_sv.c181 DBT key, data; local
187 key.data = pvt->sv.line;
188 key.size = SPRINTF((pvt->sv.line, "%s/%s", name,
191 if ((*pvt->dbh->get)(pvt->dbh, &key, &data, 0) != 0)
193 } else if ((*pvt->dbh->seq)(pvt->dbh, &key, &data, R_CURSOR)
196 return (sv_db_rec(&pvt->sv, &key, &data));
225 DBT key, data; local
231 key.data = ports;
232 key.size = sizeof(u_short) * 2;
234 strncpy((char *)ports + key
300 DBT key, data; local
385 sv_db_rec(struct lcl_sv *sv, DBT *key, DBT *data) argument
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dauth_des.h43 * a conversation key and the window
47 des_block key; /* conversation key */ member in struct:authdes_fullname
79 * Both are encrypted using the conversation key.
90 * adv_timeverf is encrypted using the conversation key.
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c55 typedef struct node { char *key; struct node *llink, *rlink; } NODE; member in struct:node
60 /* Find or insert key into search tree */
64 char *key = (char *)ky; local
66 NODE *q; /* New node if key not found */
71 int r = (*compar)(key, (*rootp)->key); /* T2: */
81 q->key = key; /* Initialize new node */
87 /* Delete node with key key */
91 char *key = (char *)ky; local
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dmsgsys.c48 msgget(key_t key, int msgflg) argument
50 return (syscall(SYS_msgsys, MSGGET, key, msgflg));
H A Dshmsys.c85 shmget(key_t key, size_t size, int shmflg) argument
87 return (syscall(SYS_shmsys, SHMGET, key, size, shmflg));
/illumos-gate/usr/src/lib/libcmd/common/
H A Dvmstate.c67 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) function
159 sfkeyprintf(sfstdout, &state, state.format, key, NiL);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcram_md5.c17 /* text is the challenge, key is the password, digest is an allocated
19 void hmac_md5(unsigned char *text, int text_len, unsigned char *key, argument
32 (void) MD5Update(&tctx, key, key_len);
34 key = tk;
40 bcopy(key, k_ipad, key_len);
41 bcopy(key, k_opad, key_len);
/illumos-gate/usr/src/lib/libmp/common/
H A Dold_mp.c55 MINT *xtom(char *key) { return (mp_xtom(key)); } argument
57 char *mtox(MINT *key) { return (mp_mtox(key)); } argument
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_tty.c208 * overrides any arrow key, but only for hackers (=new tty driver).
267 * function key, it will (once the cursor movement is done)
270 kpboth(map1, map2, key, mapto, desc)
272 unsigned char *key, *mapto, *desc;
277 if (key == 0)
279 kpadd(map1, key, mapto, desc);
280 if (any(*key, "\b\n "))
287 kpadd(map2, key, p, desc);
293 * key is the input sequence, mapto what it turns into, and desc is a
297 kpadd(struct maps *mapstr, unsigned char *key, unsigne argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_map.c69 datum key; local
76 key.dptr = yp_last_modified;
77 key.dsize = yp_last_modified_sz;
78 val = dbm_fetch(fdb, key);
114 datum key; local
117 key.dptr = yp_master_name;
118 key.dsize = yp_master_name_sz;
119 val = dbm_fetch(fdb, key);
247 datum key; local
250 key
[all...]
/illumos-gate/usr/src/common/crypto/arcfour/
H A Darcfour_crypt.c50 * Initialize the key stream 'key' using the key value.
53 * keyval User-provided key
56 * key Initialized ARCFOUR key schedule, based on keyval
59 arcfour_key_init(ARCFour_key *key, uchar_t *keyval, int keyvallen) argument
65 /* Normalize key length to 256 */
73 key->arr[i] = (uchar_t)i;
77 j = (j + key
103 arcfour_crypt(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len) argument
[all...]
/illumos-gate/usr/src/common/crypto/arcfour/sun4v/
H A Darcfour_crypt.c28 /* Initialize the key stream 'key' using the key value */
30 arcfour_key_init(ARCFour_key *key, uchar_t *keyval, int keyvallen) argument
43 key->arr[i] = (uchar_t)i;
47 j = (j + key->arr[i] + ext_keyval[i]) % 256;
48 tmp = key->arr[i];
49 key->arr[i] = key->arr[j];
50 key
62 arcfour_crypt(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len) argument
[all...]
/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c72 DH_key_init(DHkey *key, int size) argument
78 key->size = size;
80 if ((err = big_init(&(key->p), len)) != BIG_OK)
82 if ((err = big_init(&(key->g), len)) != BIG_OK)
84 if ((err = big_init(&(key->x), len)) != BIG_OK)
86 if ((err = big_init(&(key->y), len)) != BIG_OK)
92 big_finish(&(key->x));
94 big_finish(&(key->g));
96 big_finish(&(key->p));
101 DH_key_finish(DHkey *key) argument
[all...]
/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c105 fips_random_inner(uint32_t *key, uint32_t *x_j, argument
124 (void) fips_add160(XVAL, key, XSEED_j, 0, 0);
162 (void) fips_add160(key, key, x_j, 1, 0);
/illumos-gate/usr/src/common/ctf/
H A Dctf_hash.c76 ctf_hash_compute(const char *key, size_t len) argument
79 const char *p, *q = key + len;
82 for (p = key; p < q; p++, n++) {
127 * Wrapper for ctf_hash_lookup/ctf_hash_insert: if the key is already in the
129 * If the key is not present, then call ctf_hash_insert() and hash it in.
145 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) argument
152 ulong_t h = ctf_hash_compute(key, len) % hp->h_nbuckets;
159 if (strncmp(key, str, len) == 0 && str[len] == '\0')
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes.c194 #define F(l, r, key) {\
195 work = ((r >> 4) | (r << 28)) ^ (key)[0];\
200 work = r ^ (key)[1];\
255 /* First key */
305 /* permuted choice table (key) */
322 /* permuted choice key (table) */
343 * Generate key schedule for encryption or decryption
347 des_key(DES_KS k, const unsigned char *key, int decrypt) argument
357 for (j = 0; j < 56; j++) { /* convert pc1 to bits of key */
360 pc1m[j] = (key[
[all...]
H A Ddes3_test.c33 * key and verifies the result against the cipher value. Then decrypts
37 * Each key in gk[] should pass the keycheck and every key in bk[] should
50 char key[DES_KEY_SIZE * 2]; member in struct:test_data
112 unsigned char key[DES3_KEY_SIZE]; local
131 getxdata(key, td[i].key, DES_KEY_SIZE);
132 bcopy(key, &key[8], DES_KEY_SIZE); /* K1=K2=K3 for test */
133 bcopy(key,
169 unsigned char key[DES_KEY_SIZE * 3]; local
[all...]
/illumos-gate/usr/src/head/
H A Ddevmgmt.h130 * pid_t key Key used to reserve the device
135 pid_t key; member in struct:reservdev
/illumos-gate/usr/src/cmd/nscd/
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]",
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 Dgetnode.c86 if (e1->key.hostaddr.type > e2->key.hostaddr.type)
88 else if (e1->key.hostaddr.type < e2->key.hostaddr.type)
91 l1 = e1->key.hostaddr.len;
92 l2 = e2->key.hostaddr.len;
93 res = memcmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr,
99 ipaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument
100 return (db_gethash(key
139 ipname_gethash(nss_XbyY_key_t *key, int htsize) argument
[all...]
H A Dgetserv.c79 if (e1->key.serv.proto == NULL && e2->key.serv.proto)
81 if (e1->key.serv.proto && e2->key.serv.proto == NULL)
83 if (e1->key.serv.proto) {
84 l1 = strlen(e1->key.serv.proto);
85 l2 = strlen(e2->key.serv.proto);
86 res = strncmp(e1->key.serv.proto, e2->key.serv.proto,
95 l1 = strlen(e1->key
103 servname_gethash(nss_XbyY_key_t *key, int htsize) argument
146 servport_gethash(nss_XbyY_key_t *key, int htsize) argument
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DComponent.java49 * The key of the component.
51 private final String key; field in class:Component
69 key = type + "." + sys_id;
180 * Return the key of the component.
184 return (key);
H A DPool.java45 * The key of the pool.
47 private final String key; field in class:Pool
61 key = "pool." + name;
220 * Return the key of the pool.
224 return (key);

Completed in 129 milliseconds

1234567891011>>