Home
last modified time | relevance | path

Searched refs:key (Results 276 – 300 of 1666) sorted by relevance

1...<<11121314151617181920>>...67

/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dhelp2man104 my $key;
112 $key = uc $1;
113 $key =~ s/^\s+//;
114 $key =~ s/\s+$//;
116 push @include, $key unless $include{$key};
126 eval { $key = qr($pat) };
139 next unless $key;
141 $hash->{$key} ||= '';
142 $hash->{$key} .= $_;
148 unless $key;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.agghist.d.out3 key ------------- Distribution ------------- count
9 key ------------- Distribution ------------- count
15 key ------------- Distribution ------------- count
22 key ------------- Distribution ------------- count
28 key ------------- Distribution ------------- count
34 key ------------- Distribution ------------- count
/illumos-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c209 if (key->ck_format != CRYPTO_KEY_RAW) in rc4_common_init()
224 arcfour_key_init(keystream, key->ck_data, in rc4_common_init()
225 CRYPTO_BITS2BYTES(key->ck_length)); in rc4_common_init()
253 ARCFour_key *key; in rc4_crypt_update() local
259 key = ctx->cc_opstate; in rc4_crypt_update()
261 key = ctx->cc_provider_private; in rc4_crypt_update()
343 arcfour_crypt(key, start + offset, in rc4_crypt_update()
550 arcfour_crypt(key, in, start, length); in crypto_arcfour_crypt()
576 arcfour_crypt(key, in, start, len); in crypto_arcfour_crypt()
580 arcfour_crypt(key, in, start, len); in crypto_arcfour_crypt()
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c536 if (!strlen(key)) in getotherrootkeys()
625 keybuf key;
650 arg->deskey.key.low);
835 des_block *key;
852 *key = keygen;
855 des_setparity_g(key);
857 (void) fprintf(stderr, "gen() = %08x%08x\n", key->key.high,
858 key->key.low);
921 i, dp->key.high, dp->key.low)); in __key_encrypt_3_svc()
941 i, dp->key.high, dp->key.low)); in __key_decrypt_3_svc()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c72 while (keywordlist[i].key != NULL) { in frontend()
158 char key[BUFSIZ], *value = NULL, *p = NULL; in read_spec() local
218 split(buf2, key, value); in read_spec()
293 key); in read_spec()
335 if (strcasecmp(key, "data") == 0) { in interesting_keyword()
338 if (strcasecmp(key, "function") == 0) { in interesting_keyword()
342 if (strcasecmp(key, "end") == 0) in interesting_keyword()
345 while (keywordlist[i].key != NULL) { in interesting_keyword()
346 if (strcasecmp(keywordlist[i].key, key) == 0) in interesting_keyword()
438 *key++ = *p++; in split()
[all …]
H A Dextends.c48 buf[BUFSIZ], key[20]; in do_extends() local
134 split(buf2, key, localvalue); in do_extends()
214 split(buf2, key, localvalue); in do_extends()
215 ki = interesting_keyword(keywordlist, key); in do_extends()
234 "uninteresting keyword: %s\n", key); in do_extends()
273 find_fun(char *key, char *value, char *parentfun) in find_fun() argument
277 if (strcasecmp(key, "function") != 0 && in find_fun()
278 strcasecmp(key, "data") != 0) { in find_fun()
357 split(buf2, key, localvalue); in arch_match()
358 if (strcasecmp(key, "arch") == 0) { in arch_match()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_srvtab.c211 best_entry.key.contents = 0; in krb5_ktsrvtab_get_entry()
213 ent.key.enctype = enctype; in krb5_ktsrvtab_get_entry()
448 unsigned char key[8]; in krb5_ktsrvint_read_entry() local
466 if (fread(key, 1, sizeof(key), fp) != sizeof(key)) in krb5_ktsrvint_read_entry()
480 ret_entry->key.enctype = ENCTYPE_DES_CBC_CRC; in krb5_ktsrvint_read_entry()
481 ret_entry->key.magic = KV5M_KEYBLOCK; in krb5_ktsrvint_read_entry()
482 ret_entry->key.length = sizeof(key); in krb5_ktsrvint_read_entry()
483 ret_entry->key.contents = malloc(sizeof(key)); in krb5_ktsrvint_read_entry()
484 if (!ret_entry->key.contents) { in krb5_ktsrvint_read_entry()
488 memcpy(ret_entry->key.contents, key, sizeof(key)); in krb5_ktsrvint_read_entry()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c94 KMF_KEY_HANDLE *key; in kmf_delete_key_from_keystore() local
132 if (key == NULL) in kmf_delete_key_from_keystore()
134 if (key->keylabel != NULL) in kmf_delete_key_from_keystore()
135 free(key->keylabel); in kmf_delete_key_from_keystore()
137 if (key->israw && key->keyp != NULL) { in kmf_delete_key_from_keystore()
138 if (key->keyclass == KMF_ASYM_PUB || in kmf_delete_key_from_keystore()
139 key->keyclass == KMF_ASYM_PRI) { in kmf_delete_key_from_keystore()
140 kmf_free_raw_key(key->keyp); in kmf_delete_key_from_keystore()
141 free(key->keyp); in kmf_delete_key_from_keystore()
142 } else if (key->keyclass == KMF_SYMMETRIC) { in kmf_delete_key_from_keystore()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio_crypt.h110 void zio_crypt_key_destroy(zio_crypt_key_t *key);
111 int zio_crypt_key_init(uint64_t crypt, zio_crypt_key_t *key);
112 int zio_crypt_key_get_salt(zio_crypt_key_t *key, uint8_t *salt_out);
114 int zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv,
118 uint8_t *mac, zio_crypt_key_t *key);
120 int zio_crypt_generate_iv_salt_dedup(zio_crypt_key_t *key, uint8_t *data,
135 int zio_crypt_do_hmac(zio_crypt_key_t *key, uint8_t *data, uint_t datalen,
137 int zio_crypt_do_objset_hmacs(zio_crypt_key_t *key, void *data, uint_t datalen,
139 int zio_do_crypt_data(boolean_t encrypt, zio_crypt_key_t *key,
143 int zio_do_crypt_abd(boolean_t encrypt, zio_crypt_key_t *key,
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c53 typedef struct node { char *key; struct node *llink, *rlink; } NODE; member
62 char *key = (char *)ky; in tsearch() local
69 int r = (*compar)(key, (*rootp)->key); /* T2: */ in tsearch()
79 q->key = key; /* Initialize new node */ in tsearch()
89 char *key = (char *)ky; in tdelete() local
98 while ((ans = (*compar)(key, (*rootp)->key)) != 0) { in tdelete()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_mac.c107 rv = kcf_get_hardware_provider(mech->cm_type, key, in crypto_mac_prov()
115 KCF_WRAP_MAC_OPS_PARAMS(&params, KCF_OP_ATOMIC, sid, mech, key, in crypto_mac_prov()
143 if ((pd = kcf_get_mech_provider(mech->cm_type, key, &me, &error, in crypto_mac()
176 error = KCF_PROV_MAC_ATOMIC(pd, pd->pd_sid, &lmech, key, data, in crypto_mac()
192 pd->pd_sid, mech, key, data, mac, spi_ctx_tmpl); in crypto_mac()
231 rv = kcf_get_hardware_provider(mech->cm_type, key, in crypto_mac_verify_prov()
240 key, data, mac, tmpl); in crypto_mac_verify_prov()
312 key, data, mac, spi_ctx_tmpl); in crypto_mac_verify()
384 rv = kcf_get_hardware_provider(mech->cm_type, key, in crypto_mac_init_prov()
434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init() argument
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_bigkey.c82 __big_insert(hashp, pagep, key, val) in __big_insert() argument
85 const DBT *key, *val;
91 key_data = (int8_t *)key->data;
92 key_size = key->size;
187 int8_t *key;
196 kkey = key;
259 DBT *key, *val;
271 key->data = hashp->bigkey_buf;
274 if (key->size == -1)
293 DBT *key;
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp5.c44 long key; in s_child_done() local
50 getmessage (m, S_CHILD_DONE, &key, &status, &err); in s_child_done()
51 syslog(LOG_DEBUG, "s_child_done(%d, %d, %d)", key, status, err); in s_child_done()
54 if ((Exec_Table[i]->key == key) && (Exec_Table[i]->md == md)) { in s_child_done()
59 key, md, ep); in s_child_done()
/illumos-gate/usr/src/cmd/sendmail/db/xa/
H A Dxa_db.c184 __xa_del(dbp, txn, key, flags) in __xa_del() argument
187 DBT *key;
195 return (real_dbp->del(real_dbp, txn, key, flags));
199 __xa_get(dbp, txn, key, data, flags) in __xa_get() argument
202 DBT *key;
215 __xa_put(dbp, txn, key, data, flags) in __xa_put() argument
218 DBT *key;
283 __xa_c_get(dbc, key, data, flags) in __xa_c_get() argument
285 DBT *key;
296 __xa_c_put(dbc, key, data, flags) in __xa_c_put() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathkey.c44 pathkey(char* key, char* attr, const char* lang, const char* tool, const char* path) in pathkey() argument
46 return pathkey_20100601(lang, tool, path, key, 16, attr, PATH_MAX); in pathkey()
54 pathkey_20100601(const char* lang, const char* tool, const char* apath, char* key, size_t keysize, … in pathkey_20100601() argument
75 if (!key) in pathkey_20100601()
76 key = buf; in pathkey_20100601()
81 k = key; in pathkey_20100601()
293 sfsprintf(key, 15, "%08lX", memsum(path, s - path, n)); in pathkey_20100601()
294 k = key + 14; in pathkey_20100601()
312 if (k <= key + 8) in pathkey_20100601()
316 while (k > key + 8) in pathkey_20100601()
[all …]
H A Dpathtemp.c91 uint32_t key; member
108 uint32_t key; in pathtemp() local
152 …tmp.key = (tmp.seed = (tmp.rng = dir ? (uint32_t)strtoul(dir, NiL, 0) : (uint32_t)1) != 0)? (uint3… in pathtemp()
301 if (!tmp.key) in pathtemp()
302 tmp.key = (tmp.rng >> 16) | ((tmp.rng & 0xffff) << 16); in pathtemp()
303 tmp.rng ^= tmp.key; in pathtemp()
317 key = tmp.rng * tmp.key + tv.tv_nsec; in pathtemp()
320 tmp.key = tmp.rng * key + tv.tv_nsec; in pathtemp()
321 …intf(keybuf, sizeof(keybuf), "%07.7.32I*u%07.7.32I*u", sizeof(key), key, sizeof(tmp.key), tmp.key); in pathtemp()
/illumos-gate/usr/src/cmd/nscd/
H A Dgetether.c72 if (ether_cmp(e1->key.ether, e2->key.ether) != 0) { in ether_compar()
73 res = memcmp(e1->key.ether, e2->key.ether, in ether_compar()
81 ether_gethash(nss_XbyY_key_t *key, int htsize) { in ether_gethash() argument
82 return (db_gethash(key->ether, sizeof (struct ether_addr), in ether_gethash()
89 e = (struct ether_addr *)argp->key.ether; in ether_getlogstr()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_get_property.c86 char *key = NULL; in main() local
133 key = strdup (optarg); in main()
151 if (udi == NULL || key == NULL) { in main()
189 type = libhal_device_get_property_type (hal_ctx, udi, key, &error); in main()
202 str = libhal_device_get_property_string (hal_ctx, udi, key, &error); in main()
213 libhal_device_get_property_int (hal_ctx, udi, key, &error)); in main()
220 (long long unsigned int) libhal_device_get_property_uint64 (hal_ctx, udi, key, &error)); in main()
226 libhal_device_get_property_double (hal_ctx, udi, key, &error)); in main()
232 libhal_device_get_property_bool (hal_ctx, udi, key, &error) ? "true" : "false"); in main()
240 if ((strlist = libhal_device_get_property_strlist (hal_ctx, udi, key, &error)) != NULL) { in main()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dmake_checksum.c39 const krb5_keyblock *key, krb5_keyusage usage, in krb5_c_make_checksum() argument
83 if (krb5_enctypes_list[e2].etype == key->enctype) in krb5_c_make_checksum()
98 if (key->kef_key.ck_data == NULL) { in krb5_c_make_checksum()
100 (krb5_keyblock *)key))) in krb5_c_make_checksum()
104 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_make_checksum()
108 ret = (*(krb5_cksumtypes_list[i].keyhash->hash))(context, key, in krb5_c_make_checksum()
113 (krb5_keyblock *)key); in krb5_c_make_checksum()
115 (krb5_keyblock *)key); in krb5_c_make_checksum()
124 ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key); in krb5_c_make_checksum()
130 key, usage, input, &data); in krb5_c_make_checksum()
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c181 int key = 0; in nodeupdates() local
197 key |= ONTAPE; in nodeupdates()
203 key |= NAMEFND; in nodeupdates()
219 key |= INOFND; in nodeupdates()
267 key &= ~NAMEFND; in nodeupdates()
272 key |= MODECHG; in nodeupdates()
280 switch (key) { in nodeupdates()
485 keyval(int key) in keyval() argument
493 if (key & ONTAPE) in keyval()
495 if (key & INOFND) in keyval()
[all …]
/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c72 DH_key_init(DHkey *key, int size) in DH_key_init() argument
78 key->size = size; in DH_key_init()
80 if ((err = big_init(&(key->p), len)) != BIG_OK) in DH_key_init()
92 big_finish(&(key->x)); in DH_key_init()
94 big_finish(&(key->g)); in DH_key_init()
96 big_finish(&(key->p)); in DH_key_init()
101 DH_key_finish(DHkey *key) in DH_key_finish() argument
104 big_finish(&(key->y)); in DH_key_finish()
105 big_finish(&(key->x)); in DH_key_finish()
106 big_finish(&(key->g)); in DH_key_finish()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Df_cbc.c33 mit_des_cbc_encrypt(context, in, out, length, key, ivec, encrypt) in mit_des_cbc_encrypt() argument
38 krb5_keyblock *key;
49 if ((rv = get_algo(key->enctype, &algos)) != CKR_OK) {
56 rv = init_key_uef(krb_ctx_hSession(context), key);
72 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
74 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, key->hKey);
134 long length, krb5_keyblock *key, in mit_des_cbc_encrypt() argument
147 (char *)out, length, key, &ivdata, encrypt); in mit_des_cbc_encrypt()
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c277 if (key != 0) { in datumToRuleValue()
279 i = addCol2RuleValue(vt_string, N2LKEY, key->dptr, key->dsize, in datumToRuleValue()
294 if (checkIPaddress(key->dptr, key->dsize, &ipaddr) > 0) { in datumToRuleValue()
857 datum *key = 0; in getKeyFromRuleValue() local
874 if ((key = am(myself, sizeof (key[0]) * *nv)) == 0) { in getKeyFromRuleValue()
929 return (key); in getKeyFromRuleValue()
985 if (checkIPaddress(key, strlen(key), &sipkey) > 0) { in verifyKey()
1040 (void) memcpy(skey, key->dptr, key->dsize); in singleReadFromDIT()
1225 for (i = 0; i < key->dsize && (key->dptr[i] == 0 || in singleWriteToDIT()
1226 key->dptr[i] == ' ' || key->dptr[i] == '\t'); i++); in singleWriteToDIT()
[all …]
H A Dshim_changepasswd.c538 datum data, key; in update_single_map() local
548 key.dptr = NULL; in update_single_map()
561 key.dsize = strlen(key.dptr); in update_single_map()
1060 datum key, data; in get_old_info() local
1064 key.dptr = name; in get_old_info()
1065 key.dsize = strlen(key.dptr); in get_old_info()
1131 datum key, data; in put_new_info() local
1137 key.dsize = strlen(key.dptr); in put_new_info()
1148 key.dsize = strlen(key.dptr); in put_new_info()
1179 key.dsize = strlen(key.dptr); /* Len excluding terminator */ in get_old_shadow()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_validate.c86 DBT key; local
105 key.data = &vk;
106 key.size = sizeof(vk);
147 DBT key, value; local
162 key.data = &vk;
163 key.size = sizeof(vk);
165 if ((*((*vdb)->get))(*vdb, &key, &value, 0)) {
206 DBT key; local
221 key.data = &vk;
222 key.size = sizeof(vk);
[all …]

1...<<11121314151617181920>>...67