Searched refs:dec_rep (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | encode_kdc.c | 50 krb5_kdc_rep *dec_rep, krb5_data **enc_rep) in krb5_encode_kdc_rep() argument 57 if (!krb5_c_valid_enctype(dec_rep->enc_part.enctype)) in krb5_encode_kdc_rep() 99 &dec_rep->enc_part); in krb5_encode_kdc_rep() 102 (void) memset(dec_rep->enc_part.ciphertext.data, 0, \ in krb5_encode_kdc_rep() 103 dec_rep->enc_part.ciphertext.length); \ in krb5_encode_kdc_rep() 104 free(dec_rep->enc_part.ciphertext.data); \ in krb5_encode_kdc_rep() 105 dec_rep->enc_part.ciphertext.length = 0; \ in krb5_encode_kdc_rep() 106 dec_rep->enc_part.ciphertext.data = 0;} in krb5_encode_kdc_rep() 117 retval = encode_krb5_as_rep(dec_rep, enc_rep); in krb5_encode_kdc_rep() 120 retval = encode_krb5_tgs_rep(dec_rep, enc_rep); in krb5_encode_kdc_rep()
|
H A D | gc_via_tkt.c | 104 krb5_creds *in_cred, krb5_kdc_rep *dec_rep) in check_reply_server() argument 107 if (!krb5_principal_compare(context, dec_rep->ticket->server, in check_reply_server() 108 dec_rep->enc_part2->server)) in check_reply_server() 113 if (krb5_principal_compare(context, dec_rep->ticket->server, in check_reply_server() 126 krb5int_dbgref_dump_principal("gc_via_tkt: encoded server",dec_rep->enc_part2->server); in check_reply_server() 135 !IS_TGS_PRINC(context, dec_rep->ticket->server)) { in check_reply_server() 161 krb5_kdc_rep *dec_rep; in krb5_get_cred_via_tkt() local 387 &tkt->keyblock, &dec_rep))) in krb5_get_cred_via_tkt() 390 if (dec_rep->msg_type != KRB5_TGS_REP) { in krb5_get_cred_via_tkt() 398 if (!krb5_principal_compare(context, dec_rep->client, tkt->client)) in krb5_get_cred_via_tkt() [all …]
|
H A D | kdc_rep_dc.c | 40 …b5_context context, const krb5_keyblock *key, krb5_const_pointer decryptarg, krb5_kdc_rep *dec_rep) in krb5_kdc_rep_decrypt_proc() argument 55 scratch.length = dec_rep->enc_part.ciphertext.length; in krb5_kdc_rep_decrypt_proc() 56 if (!(scratch.data = malloc(dec_rep->enc_part.ciphertext.length))) { in krb5_kdc_rep_decrypt_proc() 62 if ((retval = krb5_c_decrypt(context, key, usage, 0, &dec_rep->enc_part, in krb5_kdc_rep_decrypt_proc() 77 dec_rep->enc_part2 = local_encpart; in krb5_kdc_rep_decrypt_proc()
|
H A D | decode_kdc.c | 46 …kdc_rep(krb5_context context, krb5_data *enc_rep, const krb5_keyblock *key, krb5_kdc_rep **dec_rep) in krb5_decode_kdc_rep() argument 74 *dec_rep = local_dec_rep; in krb5_decode_kdc_rep()
|