/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | md5.h | 26 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 D | keyname.sh | 61 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 D | makekey.c | 45 char key[8]; local 48 (void) read(0, key, 8); 50 (void) write(1, crypt(key, salt), 13);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_status_tbl.c | 46 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 D | f_parity.c | 24 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/lib/libbc/libc/gen/common/ |
H A D | tfind.c | 37 typedef struct node { POINTER key; struct node *llink, *rlink; } NODE; member in struct:node 44 tfind(key, rootp, compar) 45 POINTER key; /* Key to be located */ 52 int r = (*compar)(key, (*rootp)->key); /* T2: */
|
H A D | lsearch.c | 44 lsearch(key, base, nelp, width, compar) 45 register POINTER key; /* Key to be located */ 54 if ((*compar)(key, base) == 0) 57 return (memcpy(base, key, (int)width)); /* base now == next */
|
H A D | lfind.c | 44 lfind(key, base, nelp, width, compar) 45 register POINTER key; /* Key to be located */ 54 if ((*compar)(key, base) == 0)
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | des.c | 38 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 D | des3.c | 38 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 D | ns_cmn_kvp.c | 46 * 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/cmd/nscd/ |
H A D | getserv.c | 79 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 D | gettnrhdb.c | 64 (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 D | getnode.c | 86 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 D | encrypt.c | 38 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 D | aes_s2k.h | 4 const krb5_data *, krb5_keyblock *key);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | bootparam.h | 4 int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktfr_entry.c | 45 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/lib/libc/port/threads/ |
H A D | tsd.c | 46 * 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/common/crypto/arcfour/ |
H A D | arcfour_crypt.c | 50 * 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/lib/libnsctl/common/ |
H A D | hash.c | 44 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/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_seed.c | 31 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];
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_fetch_mkey.c | 37 * 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 D | device.h | 54 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 D | string_to_key.c | 41 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...] |