/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | dbm.c | 91 kdb2_fetch(key) in kdb2_fetch() argument 92 datum key; in kdb2_fetch() 120 kdb2_nextkey(key) in kdb2_nextkey() argument 121 datum key; in kdb2_nextkey() 135 kdb2_delete(key) in kdb2_delete() argument 136 datum key; in kdb2_delete() 147 datum key, dat; in kdb2_store() 207 datum key; 215 k.data = key.dptr; 294 datum key; [all …]
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_default.c | 145 krb5_keyblock *key; 191 sizeof(key->contents[0]), (unsigned) key->length, 192 kf) != key->length)) { 208 krb5_keyblock *key, in krb5_db_def_fetch_mkey() argument 252 if (!key->length || ((int) key->length) < 0) { in krb5_db_def_fetch_mkey() 257 if (!(key->contents = (krb5_octet *)malloc(key->length))) { in krb5_db_def_fetch_mkey() 263 sizeof(key->contents[0]), key->length, kf) in krb5_db_def_fetch_mkey() 264 != key->length) { in krb5_db_def_fetch_mkey() 266 memset(key->contents, 0, key->length); in krb5_db_def_fetch_mkey() 267 free(key->contents); in krb5_db_def_fetch_mkey() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_api.c | 367 if (key == NULL) in dst_write_key() 410 if (key == NULL) in dst_s_write_private_key() 414 if (key->dk_func == NULL || key->dk_func->to_file_fmt == NULL) { in dst_s_write_private_key() 424 dst_s_build_filename(file, key->dk_key_name, key->dk_id, key->dk_alg, in dst_s_write_private_key() 601 key->dk_key_name, key->dk_id, PUBLIC_KEY)); in dst_s_write_public_key() 619 key->dk_flags, key->dk_proto, key->dk_alg, enc_key); in dst_s_write_public_key() 704 if (key == NULL) in dst_key_to_dnskey() 727 if (key->dk_func && key->dk_func->to_dns_key) { in dst_key_to_dnskey() 728 enc_len = key->dk_func->to_dns_key(key, in dst_key_to_dnskey() 791 if (key == NULL) in dst_key_to_buffer() [all …]
|
H A D | hmac_link.c | 95 HMAC_Key *key; in dst_hmac_md5_sign() local 109 key = (HMAC_Key *) d_key->dk_KEY_struct; in dst_hmac_md5_sign() 164 HMAC_Key *key; in dst_hmac_md5_verify() local 243 MD5Update(&ctx, key, keylen); in dst_buffer_to_hmac_md5() 246 key = tk; in dst_buffer_to_hmac_md5() 283 u_char key[HMAC_LEN]; in dst_hmac_md5_key_to_file_format() local 302 memset(key, 0, HMAC_LEN); in dst_hmac_md5_key_to_file_format() 306 if (key[i] != 0) in dst_hmac_md5_key_to_file_format() 357 memset(key, 0, sizeof(key)); in dst_hmac_md5_key_from_file_format() 433 HMAC_Key *hkey = key; in dst_hmac_md5_free_key_structure() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | ppd.c | 44 *key = &line[1]; in process_line() 100 char *key = NULL, *value = NULL, *text = NULL; in PPDFileToAttributesList() local 112 process_line(line, &key, &value, &text); in PPDFileToAttributesList() 114 if ((strcasecmp(key, "PageSize") == 0) || in PPDFileToAttributesList() 115 (strcasecmp(key, "InputSlot") == 0)) in PPDFileToAttributesList() 116 key = "media"; in PPDFileToAttributesList() 118 if (strcasecmp(key, "OpenGroup") == 0) { in PPDFileToAttributesList() 121 } else if (strcasecmp(key, "OpenUI") == 0) { in PPDFileToAttributesList() 131 } else if (strcasecmp(key, "CloseGroup") == 0) { in PPDFileToAttributesList() 133 } else if (strcasecmp(key, "CloseUI") == 0) { in PPDFileToAttributesList() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | caps | 296 key_copy, "kcpy" "@5" KEY_COPY, 0546, copy key 298 key_end, "kend" "@7" KEY_END, 0550, end key 300 key_exit, "kext" "@9" KEY_EXIT, 0551, exit key 301 key_find, "kfnd" "@0" KEY_FIND, 0552, find key 302 key_help, "khlp" "%1" KEY_HELP, 0553, help key 303 key_mark, "kmrk" "%2" KEY_MARK, 0554, mark key 305 key_move, "kmov" "%4" KEY_MOVE, 0556, move key 307 key_open, "kopn" "%6" KEY_OPEN, 0560, open key 311 key_redo, "krdo" "%0" KEY_REDO, 0563, redo key 317 key_save, "ksav" "&6" KEY_SAVE, 0571, save key [all …]
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.h | 252 const char *key, 258 const char *key, 270 const char *key, 276 const char *key, 288 const char *key, 343 const char *key, 357 const char *key, 372 const char *key, 380 const char *key, 388 const char *key, [all …]
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | ttl_utils.c | 79 ttl = dbm_fetch(map->ttl, *key); in has_entry_expired() 88 (0 == strncmp(key->dptr, MAP_EXPIRY_KEY, key->dsize))) { in has_entry_expired() 127 strncpy(key_name, key->dptr, key->dsize); in has_entry_expired() 128 key_name[key->dsize] = '\0'; in has_entry_expired() 163 datum key; in has_map_expired() local 166 key.dsize = strlen(MAP_EXPIRY_KEY); in has_map_expired() 167 key.dptr = MAP_EXPIRY_KEY; in has_map_expired() 170 return (has_entry_expired(map, &key)); in has_map_expired() 238 datum key; in update_map_ttl() local 243 key.dsize = strlen(MAP_EXPIRY_KEY); in update_map_ttl() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softMAC.c | 206 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 210 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 249 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 251 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 272 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 276 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 315 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 317 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 355 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() 357 OBJ_SEC(key)->sk_value_len); in mac_init_ctx() [all …]
|
H A D | softDSA.c | 98 dsa_ctx->key = tmp_key; in soft_dsa_sign_verify_init_common() 228 soft_object_t *key = dsa_ctx->key; in soft_dsa_digest_sign_common() local 253 free(key); in soft_dsa_digest_sign_common() 282 soft_object_t *key = dsa_ctx->key; in soft_dsa_sign() local 284 if ((key->class != CKO_PRIVATE_KEY) || (key->key_type != CKK_DSA)) { in soft_dsa_sign() 318 free(key); in soft_dsa_sign() 331 soft_object_t *key = dsa_ctx->key; in soft_dsa_verify() local 333 if ((key->class != CKO_PUBLIC_KEY) ||(key->key_type != CKK_DSA)) { in soft_dsa_verify() 358 free(key); in soft_dsa_verify() 373 soft_object_t *key = dsa_ctx->key; in soft_dsa_digest_verify_common() local [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | gettnrhdb.c | 63 name, argp->key.hostaddr.addr, argp->key.hostaddr.len, in tsol_rh_getlogstr() 64 argp->key.hostaddr.type); in tsol_rh_getlogstr() 75 if (e1->key.hostaddr.type > e2->key.hostaddr.type) in tsol_rh_compar() 77 else if (e1->key.hostaddr.type < e2->key.hostaddr.type) in tsol_rh_compar() 80 l1 = strlen(e1->key.hostaddr.addr); in tsol_rh_compar() 81 l2 = strlen(e2->key.hostaddr.addr); in tsol_rh_compar() 82 res = strncasecmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr, in tsol_rh_compar() 88 tsol_rh_gethash(nss_XbyY_key_t *key, int htsize) { in tsol_rh_gethash() argument 89 return (db_gethash(key->hostaddr.addr, in tsol_rh_gethash() 90 strlen(key->hostaddr.addr), htsize)); in tsol_rh_gethash()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_nis.c | 91 nserr = yp_match(nis_mydomain, map, key, strlen(key), 231 if (key) 232 free(key); 233 key = nkey; 241 if (isspace(*key) || *key == '#') 365 if (key) 366 free(key); 372 if (isspace(*key) || *key == '#') 479 if (key) 480 free(key); [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | old_api_glue.c | 111 const krb5_keyblock *key) in krb5_process_key() argument 113 eblock->key = (krb5_keyblock *) key; in krb5_process_key() 156 krb5_keyblock *key; in krb5_random_key() local 163 free(key); in krb5_random_key() 165 *keyblock = key; in krb5_random_key() 214 krb5_keyblock key; in krb5_calculate_checksum() local 222 key.length = seed_length; in krb5_calculate_checksum() 224 key.contents = (unsigned char*)seed; in krb5_calculate_checksum() 252 krb5_keyblock key; in krb5_verify_checksum() local 260 key.length = seed_length; in krb5_verify_checksum() [all …]
|
H A D | string_to_key.c | 41 krb5_keyblock *key); 47 krb5_keyblock *key) in krb5_c_string_to_key() argument 50 NULL, key); in krb5_c_string_to_key() 93 key->magic = KV5M_KEYBLOCK; in krb5_c_string_to_key_with_params() 94 key->enctype = enctype; in krb5_c_string_to_key_with_params() 95 key->length = keylength; in krb5_c_string_to_key_with_params() 97 key->dk_list = NULL; in krb5_c_string_to_key_with_params() 98 key->hKey = CK_INVALID_HANDLE; in krb5_c_string_to_key_with_params() 102 params, key); in krb5_c_string_to_key_with_params() 105 free(key->contents); in krb5_c_string_to_key_with_params() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 144 memset(&key, '\0', sizeof(key)); 255 (int) key.size, (char *) key.data, 346 (int) key.size, (char *) key.data, i); 355 memset(&key, '\0', sizeof(key)); 400 (int) key.size, (char *) key.data, i); 450 (int) key.size, (char *) key.data, 646 memset(&key, '\0', sizeof(key)); 717 memset(&key, '\0', sizeof(key)); 720 key.size = strlen(key.data); 745 memset(&key, '\0', sizeof(key)); [all …]
|
/illumos-gate/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 154 big_finish(&(key->e)); in RSA_key_init() 156 big_finish(&(key->d)); in RSA_key_init() 158 big_finish(&(key->n)); in RSA_key_init() 160 big_finish(&(key->q)); in RSA_key_init() 162 big_finish(&(key->p)); in RSA_key_init() 176 big_finish(&(key->e)); in RSA_key_finish() 177 big_finish(&(key->d)); in RSA_key_finish() 178 big_finish(&(key->n)); in RSA_key_finish() 179 big_finish(&(key->q)); in RSA_key_finish() 180 big_finish(&(key->p)); in RSA_key_finish() [all …]
|
/illumos-gate/usr/src/cmd/loadkeys/type_6/ |
H A D | uk | 25 # UK Type 6 (USB) key layout 32 key 49 all hole 39 key 73 all bf(8) 40 key 74 all rf(7) 41 key 75 all rf(9) 42 key 77 all rf(13) 43 key 78 all rf(15) 44 key 82 all string+uparrow 45 key 80 all string+leftarrow 46 key 81 all string+downarrow [all …]
|
/illumos-gate/usr/src/cmd/loadkeys/type_4/ |
H A D | russia_5 | 28 # Russian Type 5 key layout 30 key 42 base ` shift ~ caps ` ctrl ` altg nop 42 key 44 all bf(8) 43 key 52 all rf(7) 44 key 96 all rf(9) 45 key 74 all rf(13) 46 key 123 all rf(15) 47 key 20 all string+uparrow 48 key 24 all string+leftarrow 49 key 27 all string+downarrow [all …]
|
H A D | uk_5 | 28 # UK Type 5 key layout 30 key 42 base ` shift � caps ` ctrl ` altg � 41 key 44 all bf(8) 42 key 52 all rf(7) 43 key 96 all rf(9) 44 key 74 all rf(13) 45 key 123 all rf(15) 46 key 20 all string+uparrow 47 key 24 all string+leftarrow 48 key 27 all string+downarrow [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modhash.c | 151 #define MH_KEY_DESTROY(hash, key) ((hash->mh_kdtor)(key)) argument 209 char *p, *k = (char *)key; in mod_hash_bystr() 229 mod_hash_strkey_dtor(mod_hash_key_t key) in mod_hash_strkey_dtor() argument 231 char *c = (char *)key; in mod_hash_strkey_dtor() 273 uintptr_t k = (uintptr_t)key; in mod_hash_byptr() 567 hashidx = i_mod_hash(hash, key); in i_mod_hash_insert_nosync() 568 entry->mhe_key = key; in i_mod_hash_insert_nosync() 676 hashidx = i_mod_hash(hash, key); in i_mod_hash_remove_nosync() 780 hashidx = i_mod_hash(hash, key); in i_mod_hash_find_nosync() 814 find_cb(key, *val); in mod_hash_find_cb() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | caps | 303 key_copy kcpy @5 str Sent by copy key 305 key_end kend @7 str Sent by end key 307 key_exit kext @9 str Sent by exit key 308 key_find kfnd @0 str Sent by find key 309 key_help khlp %1 str Sent by help key 310 key_mark kmrk %2 str Sent by mark key 312 key_move kmov %4 str Sent by move key 314 key_open kopn %6 str Sent by open key 318 key_redo krdo %0 str Sent by redo key 324 key_save ksav &6 str Sent by save key [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | caps | 301 key_copy kcpy @5 str Sent by copy key 303 key_end kend @7 str Sent by end key 305 key_exit kext @9 str Sent by exit key 306 key_find kfnd @0 str Sent by find key 307 key_help khlp %1 str Sent by help key 308 key_mark kmrk %2 str Sent by mark key 310 key_move kmov %4 str Sent by move key 312 key_open kopn %6 str Sent by open key 316 key_redo krdo %0 str Sent by redo key 322 key_save ksav &6 str Sent by save key [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_crypt.c | 234 ASSERT(key != NULL); in zio_crypt_key_init() 259 key->zk_salt, ZIO_DATA_SALT_LEN, key->zk_current_keydata, in zio_crypt_key_init() 266 key->zk_current_key.ck_data = key->zk_current_keydata; in zio_crypt_key_init() 270 key->zk_hmac_key.ck_data = &key->zk_hmac_key; in zio_crypt_key_init() 289 key->zk_crypt = crypt; in zio_crypt_key_init() 624 key->zk_salt, ZIO_DATA_SALT_LEN, key->zk_current_keydata, in zio_crypt_key_unwrap() 631 key->zk_current_key.ck_data = key->zk_current_keydata; in zio_crypt_key_unwrap() 635 key->zk_hmac_key.ck_data = key->zk_hmac_keydata; in zio_crypt_key_unwrap() 654 key->zk_crypt = crypt; in zio_crypt_key_unwrap() 656 key->zk_guid = guid; in zio_crypt_key_unwrap() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_iface.c | 70 DBT *key, *data; 119 if (key_einval && (key->data == NULL || key->size == 0)) 139 const DBT *key; 187 if (key_einval && (key->data == NULL || key->size == 0)) 225 DBT *key; 242 if (key->data == NULL || key->size == 0) 255 __db_getchk(dbp, key, data, flags) in __db_getchk() argument 257 const DBT *key; 284 if (key->data == NULL || key->size == 0) 317 DBT *key; [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | arcfour_provider.c | 22 const krb5_keyblock *key, in setup_arcfour_crypto() argument 89 if (key->length != 16) in k5_arcfour_decrypt() 206 if (key->length != 16) in k5_arcfour_encrypt() 285 (ulong_t) key->kef_mt, (ulong_t) key->key_tmpl); in k5_arcfour_encrypt() 302 if (key->length != 16) in k5_arcfour_make_key() 307 key->magic = KV5M_KEYBLOCK; in k5_arcfour_make_key() 308 key->length = 16; in k5_arcfour_make_key() 309 key->dk_list = NULL; in k5_arcfour_make_key() 311 key->kef_key.ck_data = NULL; in k5_arcfour_make_key() 312 key->key_tmpl = NULL; in k5_arcfour_make_key() [all …]
|