Searched refs:key (Results 1 - 25 of 1399) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmd5.h26 extern int md5_password (const char *key, char *crypted, int check);
29 #define check_md5_password(key,crypted) md5_password((key), (crypted), 1)
30 #define make_md5_password(key,crypted) md5_password((key), (crypted), 0)
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dkeyname.sh61 keyname(int key)
65 if (key >= 0400) {
68 if ((key == 0400) || (key > KEY_${LAST}))
70 if (key > 0507)
71 i = key - (0401 + ((0507 - 0410) + 1));
73 if (key >= 0410) {
74 (void) sprintf(buf, "KEY_F(%d)", key - 0410);
77 i = key - 0401;
82 if (key >
[all...]
/illumos-gate/usr/src/cmd/makekey/
H A Dmakekey.c45 char key[8]; local
48 (void) read(0, key, 8);
50 (void) write(1, crypt(key, salt), 13);
/illumos-gate/usr/src/lib/iconv_modules/inc/
H A Dpublic_struc.h31 unsigned int key; member in struct:key_value
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_status_tbl.c46 const smb_status_table_t *key = vkey; local
49 if (key->value == row->value)
51 if (key->value < row->value)
68 smb_status_table_t key; local
71 key.value = ntstatus;
72 key.name = NULL;
73 tep = bsearch(&key, ntx_table, ntx_rows,
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Df_parity.c24 mit_des_fixup_key_parity(mit_des_cblock key) argument
29 key[i] &= 0xfe;
30 key[i] |= 1^parity_char(key[i]);
37 * des_check_key_parity: returns true iff key has the correct des parity.
42 mit_des_check_key_parity(mit_des_cblock key) argument
48 if((key[i] & 1) == parity_char(0xfe&key[i]))
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Ddes.c38 k5_des_docrypt(krb5_context context, krb5_const krb5_keyblock *key, argument
45 /* key->enctype was checked by the caller */
47 if (key->length != 8)
58 (krb5_keyblock *)key,
67 k5_des_encrypt(krb5_context context, krb5_const krb5_keyblock *key, argument
71 return(k5_des_docrypt(context, key, ivec, input, output, 1));
75 k5_des_decrypt(krb5_context context, krb5_const krb5_keyblock *key, argument
79 return(k5_des_docrypt(context, key, ivec, input, output, 0));
84 krb5_keyblock *key)
87 if (key
83 k5_des_make_key(krb5_context context, krb5_const krb5_data *randombits, krb5_keyblock *key) argument
[all...]
H A Ddes3.c38 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec,
46 /* key->enctype was checked by the caller */
48 if (key->length != 24)
59 (krb5_keyblock *)key,
69 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec,
72 return(k5_des3_docrypt(context, key, ivec, input, output, 1));
77 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec,
80 return(k5_des3_docrypt(context, key, ivec, input, output, 0));
85 krb5_keyblock *key)
92 if (key
37 k5_des3_docrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output, int encrypt) argument
68 k5_des3_encrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
76 k5_des3_decrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
84 k5_des3_make_key(krb5_context context, krb5_const krb5_data *randombits, krb5_keyblock *key) argument
[all...]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_cmn_kvp.c44 * kvp_create(const char *key, const void *value)
46 * const char *key
47 * - key for key/value pair
49 * - value for key/value pair
52 * - pointer to structure containing the key/value pair
56 ns_kvp_create(const char *key, const char *value) argument
61 kvp->key = strdup(key);
73 if (kvp->key !
99 ns_kvp_match_key(const ns_kvp_t *kvp, char *key) argument
121 ns_r_get_value(const char *key, const ns_printer_t *printer, int level) argument
202 ns_get_value(const char *key, const ns_printer_t *printer) argument
213 ns_get_value_string(const char *key, const ns_printer_t *printer) argument
224 ns_set_value(const char *key, const void *value, ns_printer_t *printer) argument
236 ns_set_value_from_string(const char *key, const char *string, ns_printer_t *printer) argument
[all...]
/illumos-gate/usr/src/cmd/nscd/
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...]
H A Dgettnrhdb.c64 (void) snprintf(whoami, len, "%s [key=%s, len=%d, addrtype=%d]",
65 name, argp->key.hostaddr.addr, argp->key.hostaddr.len,
66 argp->key.hostaddr.type);
77 if (e1->key.hostaddr.type > e2->key.hostaddr.type)
79 else if (e1->key.hostaddr.type < e2->key.hostaddr.type)
82 l1 = strlen(e1->key.hostaddr.addr);
83 l2 = strlen(e2->key
90 tsol_rh_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...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c38 update_key_template(krb5_keyblock *key) argument
45 if (key == NULL)
52 kef_mech.cm_type = key->kef_mt;
59 &key->kef_key,
60 &key->key_tmpl,
68 key->key_tmpl = NULL;
81 init_key_kef(crypto_mech_type_t mech_type, krb5_keyblock *key) argument
86 if (key == NULL)
89 if (key->kef_key.ck_data == NULL) {
90 key
111 init_key_uef(CK_SESSION_HANDLE hSession, krb5_keyblock *key) argument
175 krb5_c_encrypt(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_enc_data *output) argument
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Daes_s2k.h4 const krb5_data *, krb5_keyblock *key);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootparam.h4 int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtsd.c46 * half a gigabyte of memory for each thread that uses the largest key.
63 * pthread_getspecific() on an allocated key upon which the
67 * pthread_key_create(&key);
68 * pthread_setspecific(key, datum);
69 * pthread_key_delete(&key);
70 * pthread_key_create(&key);
71 * val = pthread_getspecific(key);
73 * According to POSIX, if the deleted key is reused for the new
74 * key returned by the second pthread_key_create(), then the
81 * the value NULL with the new (reused) key fo
163 thread_key_t key; local
185 pthread_key_delete(pthread_key_t key) argument
214 pthread_getspecific(pthread_key_t key) argument
236 thr_getspecific(thread_key_t key, void **valuep) argument
267 thr_setspecific_slow(thread_key_t key, void *value) argument
322 thr_setspecific(thread_key_t key, void *value) argument
355 pthread_setspecific(pthread_key_t key, const void *value) argument
375 _thr_slot_offset(thread_key_t key) argument
390 thread_key_t key; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktfr_entry.c45 if (entry->key.contents) {
46 memset((char *)entry->key.contents, 0, entry->key.length);
48 krb5_free_keyblock_contents(context, &entry->key);
/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/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_seed.c31 kg_make_seed(context, key, seed)
33 krb5_keyblock *key;
40 code = krb5_copy_keyblock(context, key, &tmpkey);
44 /* reverse the key bytes, as per spec */
47 tmpkey->contents[i] = key->contents[key->length - 1 - i];
H A Dutil_set.c38 void *key; member in struct:_g_set_elt
65 int g_set_entry_add(g_set_elt *s, void *key, void *value) argument
72 first->key = key;
81 int g_set_entry_delete(g_set_elt *s, void *key) argument
86 if ((*p)->key == key) {
98 int g_set_entry_get(g_set_elt *s, void *key, void **value) argument
103 if (p->key == key) {
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_fetch_mkey.c37 * get the master key from the database specific context
41 krb5_ldap_get_mkey (context, key)
43 krb5_keyblock **key;
58 *key = &ldap_context->lrparams->mkey;
64 * set the master key into the database specific context
68 krb5_ldap_set_mkey (context, pwd, key)
71 krb5_keyblock *key;
93 r_params->mkey.magic = key->magic;
94 r_params->mkey.enctype = key->enctype;
95 r_params->mkey.length = key
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice.h54 const char *key,
111 const char *key);
113 const char *key);
116 const char *key);
122 const char *key);
124 const char *key,
130 const char *key);
132 const char *key);
134 const char *key);
136 const char *key);
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstring_to_key.c41 krb5_keyblock *key);
47 krb5_keyblock *key)
50 NULL, key);
57 const krb5_data *params, krb5_keyblock *key)
90 if ((key->contents = (krb5_octet *) malloc(keylength)) == NULL)
93 key->magic = KV5M_KEYBLOCK;
94 key->enctype = enctype;
95 key->length = keylength;
97 key->dk_list = NULL;
98 key
45 krb5_c_string_to_key(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, krb5_keyblock *key) argument
54 krb5_c_string_to_key_with_params(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dtable.c40 * Generate the key into the table using the first two letters
65 store(table, key, datum)
67 char *key;
73 index = tablekey(key);
77 new->key = key;
85 lookup(table, key)
87 char *key;
91 cur = table[tablekey(key)];
92 while (cur && strcmp(cur->key, ke
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp5.c47 long key; local
53 getmessage (m, S_CHILD_DONE, &key, &status, &err);
54 syslog(LOG_DEBUG, "s_child_done(%d, %d, %d)", key, status, err);
57 if ((Exec_Table[i]->key == key) && (Exec_Table[i]->md == md)) {
62 key, md, ep);

Completed in 65 milliseconds

1234567891011>>