/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | des_int.h | 137 krb5_keyblock *keyblock, 146 krb5_keyblock *, const krb5_octet *); 153 krb5_keyblock *key, 175 ( krb5_encrypt_block *, const krb5_keyblock *); 180 krb5_keyblock *, const krb5_data *, const krb5_data *); 187 (const krb5_keyblock *, const krb5_keyblock *, 188 krb5_keyblock **); 219 krb5_keyblock *key, 226 const krb5_keyblock * keyblock); 231 krb5_keyblock * keyblock,
|
H A D | dk.h | 39 const krb5_keyblock *key, krb5_keyusage usage, 47 krb5_const krb5_keyblock *key, krb5_keyusage usage, 54 krb5_const krb5_keyblock *inkey, 55 krb5_keyblock *outkey, krb5_const krb5_data *in_constant); 60 krb5_const krb5_keyblock *key, krb5_keyusage usage, 71 krb5_keyblock *key); 83 const krb5_keyblock *key, krb5_keyusage usage, 91 const krb5_keyblock *key, krb5_keyusage usage, 99 const krb5_data *, krb5_keyblock *key);
|
H A D | k5-int.h | 470 krb5_keyblock sam_key; 494 krb5_keyblock sam_key; 787 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, 792 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, 796 (krb5_context, krb5_const krb5_data *, krb5_keyblock *); 799 const krb5_keyblock *, 819 krb5_const krb5_keyblock *key, 826 krb5_const krb5_keyblock *key, 843 krb5_const krb5_keyblock *key, krb5_keyusage usage, 852 krb5_keyblock *key); [all …]
|
H A D | krb5.h | 430 } krb5_keyblock; typedef 444 krb5_keyblock *key; 523 (krb5_context context, const krb5_keyblock *key, 529 (krb5_context context, const krb5_keyblock *key, 550 const krb5_keyblock *, krb5_keyusage, 555 const krb5_keyblock *, krb5_data *); 560 krb5_keyblock *random_key); 565 krb5_data *random_data, krb5_keyblock *k5_random_key); 602 krb5_keyblock *key); 609 krb5_keyblock *key); [all …]
|
H A D | arcfour.h | 23 const krb5_keyblock *, 33 const krb5_keyblock *, 46 krb5_keyblock *);
|
H A D | auth_con.h | 11 krb5_keyblock * keyblock; 12 krb5_keyblock * send_subkey; 13 krb5_keyblock * recv_subkey;
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_key.c | 46 const krb5_keyblock *from, krb5_keyblock *to) in krb5_copy_keyblock_data() 92 const krb5_keyblock *from; 93 krb5_keyblock **to; 95 krb5_keyblock *new_key; 97 if (!(new_key = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock)))) 101 FREE(new_key, sizeof(krb5_keyblock));
|
H A D | ser_key.c | 61 krb5_keyblock *keyblock; in krb5_keyblock_size() 73 keyblock = (krb5_keyblock *) arg; in krb5_keyblock_size() 93 krb5_keyblock *keyblock; in krb5_keyblock_externalize() 103 keyblock = (krb5_keyblock *) arg; in krb5_keyblock_externalize() 144 krb5_keyblock *keyblock; in krb5_keyblock_internalize() 160 (keyblock = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock)))) { in krb5_keyblock_internalize() 161 (void) memset(keyblock, 0, sizeof(krb5_keyblock)); in krb5_keyblock_internalize() 192 FREE(keyblock, sizeof(krb5_keyblock)); in krb5_keyblock_internalize()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/krb5/ |
H A D | kdb.h | 290 krb5_keyblock *key ); 292 krb5_keyblock *key); 294 krb5_keyblock **key ); 296 krb5_keyblock *key ); 300 krb5_keyblock *key, 309 krb5_keyblock *key); 312 krb5_keyblock *mkey ); 339 const krb5_keyblock * mkey, 341 krb5_keyblock * dbkey, 346 const krb5_keyblock * mkey, [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_set_keyblock.c | 33 krb5_get_key_enctype(krb5_keyblock *kb) in krb5_get_key_enctype() 39 krb5_get_key_length(krb5_keyblock *kb) in krb5_get_key_length() 45 krb5_get_key_data(krb5_keyblock *kb) in krb5_get_key_data() 51 krb5_set_key_enctype(krb5_keyblock *kb, krb5_enctype enctype) in krb5_set_key_enctype() 57 krb5_set_key_length(krb5_keyblock *kb, unsigned int len) in krb5_set_key_length() 63 krb5_set_key_data(krb5_keyblock *kb, krb5_octet *data) in krb5_set_key_data()
|
H A D | gen_subkey.c | 34 krb5_generate_subkey(krb5_context context, const krb5_keyblock *key, krb5_keyblock **subkey) in krb5_generate_subkey() 52 if ((*subkey = (krb5_keyblock *) malloc(sizeof(krb5_keyblock))) == NULL) in krb5_generate_subkey() 56 (void) memset(*subkey, 0, sizeof(krb5_keyblock)); in krb5_generate_subkey()
|
H A D | preauth.c | 40 krb5_keyblock *, 45 krb5_keyblock **), 60 krb5_keyblock **), 63 const krb5_keyblock *, 66 krb5_keyblock **, 75 krb5_keyblock *, 80 krb5_keyblock **), 127 krb5_keyblock **); 130 const krb5_keyblock *, 142 krb5_keyblock * def_enc_key = 0; in krb5_obtain_padata() [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | checksum.c | 50 const krb5_keyblock *key, in derive_cksum_key() 52 krb5_keyblock **outkey) in derive_cksum_key() 55 krb5_keyblock *cached_key = NULL; in derive_cksum_key() 60 (krb5_keyblock *)key); in derive_cksum_key() 102 ret = add_derived_key((krb5_keyblock *)key, usage, in derive_cksum_key() 116 krb5_const krb5_keyblock *key; 123 krb5_keyblock *cksum_key = NULL; 143 (krb5_keyblock *)key))) 151 if ((ret = krb5_hmac(context, (krb5_keyblock *)cksum_key,
|
H A D | derive.c | 43 krb5_keyblock * 45 krb5_keyblock *key) in find_derived_key() 67 add_derived_key(krb5_keyblock *key, in add_derived_key() 69 krb5_keyblock *derived_key) in add_derived_key() 104 krb5_keyblock * 107 krb5_keyblock *key = MALLOC(sizeof(krb5_keyblock)); in krb5_create_derived_keyblock() 113 bzero(key, sizeof(krb5_keyblock)); in krb5_create_derived_keyblock() 118 FREE(key, sizeof(krb5_keyblock)); in krb5_create_derived_keyblock() 138 krb5_keyblock *key, in init_derived_keydata() 140 krb5_keyblock **d_encr_key, in init_derived_keydata() [all …]
|
H A D | dk_decrypt.c | 42 const krb5_keyblock *key, 54 const krb5_keyblock *key, krb5_keyusage usage, in krb5_dk_decrypt() 67 const krb5_keyblock *key, krb5_keyusage usage, in krb5int_aes_dk_decrypt() 80 const krb5_keyblock *key, krb5_keyusage usage, in krb5_dk_decrypt_maybe_trunc_hmac() 88 krb5_keyblock *derived_encr_key = NULL; in krb5_dk_decrypt_maybe_trunc_hmac() 89 krb5_keyblock *derived_hmac_key = NULL; in krb5_dk_decrypt_maybe_trunc_hmac() 99 (krb5_keyblock *)key, in krb5_dk_decrypt_maybe_trunc_hmac()
|
H A D | dk_encrypt.c | 61 const krb5_keyblock *key, krb5_keyusage usage, in krb5_dk_encrypt() 69 krb5_keyblock *derived_encr_key = NULL; in krb5_dk_encrypt() 70 krb5_keyblock *derived_hmac_key = NULL; in krb5_dk_encrypt() 80 (krb5_keyblock *)key, in krb5_dk_encrypt() 187 const krb5_keyblock *ki, int num, in trunc_hmac() 223 const krb5_keyblock *key, in krb5int_aes_dk_encrypt() 233 krb5_keyblock *derived_encr_key = NULL; in krb5int_aes_dk_encrypt() 234 krb5_keyblock *derived_hmac_key = NULL; in krb5int_aes_dk_encrypt() 242 (krb5_keyblock *)key, in krb5int_aes_dk_encrypt()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | old_api_glue.c | 111 const krb5_keyblock *key) in krb5_process_key() 113 eblock->key = (krb5_keyblock *) key; in krb5_process_key() 126 krb5_keyblock *keyblock, const krb5_data *data, in krb5_string_to_key() 135 const krb5_keyblock *keyblock, krb5_pointer *ptr) in krb5_init_random_key() 154 krb5_pointer ptr, krb5_keyblock **keyblock) in krb5_random_key() 156 krb5_keyblock *key; in krb5_random_key() 159 if ((key = (krb5_keyblock *) malloc(sizeof(krb5_keyblock))) == NULL) in krb5_random_key() 214 krb5_keyblock key; in krb5_calculate_checksum() 252 krb5_keyblock key; in krb5_verify_checksum() 285 krb5_error_code krb5_encrypt_data(krb5_context context, krb5_keyblock *key, in krb5_encrypt_data() [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_crypt.c | 72 krb5_keyblock *key; 89 krb5_keyblock *key; 109 krb5_keyblock *key; 123 krb5_keyblock *key; 171 krb5_keyblock *key; 216 const krb5_keyblock *longterm_key , int ms_usage, in kg_arcfour_docrypt() 223 krb5_keyblock seq_enc_key, usage_key; in kg_arcfour_docrypt() 228 bzero(&usage_key, sizeof(krb5_keyblock)); in kg_arcfour_docrypt() 229 bzero(&seq_enc_key, sizeof(krb5_keyblock)); in kg_arcfour_docrypt()
|
/titanic_41/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, in k5_des_docrypt() 58 (krb5_keyblock *)key, in k5_des_docrypt() 67 k5_des_encrypt(krb5_context context, krb5_const krb5_keyblock *key, in k5_des_encrypt() 75 k5_des_decrypt(krb5_context context, krb5_const krb5_keyblock *key, in k5_des_decrypt() 84 krb5_keyblock *key) in k5_des_make_key()
|
H A D | des3.c | 38 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_docrypt() 59 (krb5_keyblock *)key, in k5_des3_docrypt() 69 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_encrypt() 77 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_decrypt() 85 krb5_keyblock *key) in k5_des3_make_key()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | make_checksum.c | 39 const krb5_keyblock *key, krb5_keyusage usage, 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() 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()
|
H A D | encrypt.c | 38 update_key_template(krb5_keyblock *key) in update_key_template() 81 init_key_kef(crypto_mech_type_t mech_type, krb5_keyblock *key) in init_key_kef() 111 init_key_uef(CK_SESSION_HANDLE hSession, krb5_keyblock *key) in init_key_uef() 175 krb5_c_encrypt(krb5_context context, const krb5_keyblock *key, in krb5_c_encrypt() 200 (krb5_keyblock *)key))) in krb5_c_encrypt() 204 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_encrypt()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/ |
H A D | k_hmac_md5.c | 47 const krb5_keyblock *key, krb5_keyusage usage, in k5_hmac_md5_hash() 53 krb5_keyblock ks; in k5_hmac_md5_hash() 75 bzero(&ks, sizeof(krb5_keyblock)); in k5_hmac_md5_hash() 92 (krb5_keyblock *)key); in k5_hmac_md5_hash() 106 ret = krb5_hmac(context, (krb5_keyblock *)key, &ks_constant, &ds); in k5_hmac_md5_hash()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 76 const krb5_keyblock *key; 82 krb5_keyblock k1, k2, k3; 83 krb5_keyblock *kptr; 94 bzero(&k2, sizeof(krb5_keyblock)); 103 bcopy(key, &k1, sizeof (krb5_keyblock)); 120 bcopy(key, &k2, sizeof (krb5_keyblock)); 139 bcopy(key, &k3, sizeof (krb5_keyblock)); 273 const krb5_keyblock *key; 279 krb5_keyblock k1,k2,k3, *kptr; 295 bzero(&k2, sizeof(krb5_keyblock)); [all …]
|
/titanic_41/usr/src/lib/krb5/kdb/ |
H A D | kdb5.h | 138 krb5_keyblock *key); 141 krb5_keyblock **key); 153 krb5_keyblock *key, 158 krb5_keyblock *key, 164 krb5_keyblock *mkey); 177 krb5_keyblock * master_key,
|