Home
last modified time | relevance | path

Searched refs:krb5_data (Results 1 – 25 of 233) sorted by relevance

12345678910

/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h409 krb5_data s2kparams;
475 krb5_data msd; /* mechanism specific data */
482 krb5_data sam_type_name;
483 krb5_data sam_track_id;
484 krb5_data sam_challenge_label;
485 krb5_data sam_challenge;
486 krb5_data sam_response_prompt;
487 krb5_data sam_pk_for_sad;
502 krb5_data sam_sad;
509 krb5_data sam_track_id; /* copied */
[all …]
H A Ddk.h40 const krb5_data *ivec,
41 const krb5_data *input, krb5_data *output);
48 krb5_const krb5_data *ivec, krb5_const krb5_data *input,
49 krb5_data *arg_output);
55 krb5_keyblock *outkey, krb5_const krb5_data *in_constant);
61 krb5_const krb5_data *input, krb5_data *output);
68 krb5_const krb5_data *string,
69 krb5_const krb5_data *salt,
70 krb5_const krb5_data *params,
84 const krb5_data *ivec,
[all …]
H A Darcfour.h25 const krb5_data *,
26 const krb5_data *,
27 krb5_data *);
35 const krb5_data *,
36 const krb5_data *,
37 krb5_data *);
43 const krb5_data *,
44 const krb5_data *,
45 const krb5_data *,
H A Dold.h44 const krb5_data *ivec, const krb5_data *input,
45 krb5_data *output);
52 const krb5_data *ivec, const krb5_data *input,
53 krb5_data *arg_output);
59 const krb5_data *string, const krb5_data *salt,
60 const krb5_data *params,
H A Dkrb5.h271 } krb5_data; typedef
293 krb5_data realm;
294 krb5_data *data; /* An array of strings */
353 krb5_boolean KRB5_CALLCONV krb5_is_referral_realm(const krb5_data *);
451 krb5_data ciphertext;
524 krb5_keyusage usage, const krb5_data *cipher_state,
525 const krb5_data *input, krb5_enc_data *output);
530 krb5_keyusage usage, const krb5_data *cipher_state,
531 const krb5_enc_data *input, krb5_data *output);
551 krb5_data *);
[all …]
H A Draw.h39 const krb5_data *ivec, const krb5_data *input,
40 krb5_data *output);
47 const krb5_data *ivec, const krb5_data *input,
48 krb5_data *arg_output);
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dk5-int-pkinit.h193 (const krb5_pa_pk_as_req *rep, krb5_data **code);
196 (const krb5_pa_pk_as_req_draft9 *rep, krb5_data **code);
199 (const krb5_pa_pk_as_rep *rep, krb5_data **code);
202 (const krb5_pa_pk_as_rep_draft9 *rep, krb5_data **code);
205 (const krb5_auth_pack *rep, krb5_data **code);
208 (const krb5_auth_pack_draft9 *rep, krb5_data **code);
211 (const krb5_kdc_dh_key_info *rep, krb5_data **code);
214 (const krb5_reply_key_pack *, krb5_data **code);
217 (const krb5_reply_key_pack_draft9 *, krb5_data **code);
220 (const krb5_typed_data **, krb5_data **code);
[all …]
H A Dpreauth_plugin.h117 krb5_data *salt,
118 krb5_data *s2kparams,
137 krb5_data **);
189 krb5_data *encoded_request_body,
190 krb5_data *encoded_previous_request,
196 krb5_data *salt,
197 krb5_data *s2kparams,
213 krb5_data *encoded_request_body,
214 krb5_data *encoded_previous_request,
221 krb5_data *salt,
[all …]
/titanic_50/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.h52 krb5_error_code add_to_transited (krb5_data *,
53 krb5_data *,
57 krb5_error_code compress_transited (krb5_data *,
59 krb5_data *);
72 krb5_data *,
89 krb5_data *);
109 krb5_key_data *, krb5_data *);
120 krb5_error_code process_as_req (krb5_kdc_req *, krb5_data *,
122 krb5_data ** );
125 krb5_error_code process_tgs_req (krb5_data *,
[all …]
/titanic_50/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_accessor.h40 extern krb5_error_code (*k5int_encode_##type)(const type *, krb5_data **); \
41 extern krb5_error_code (*k5int_decode_##type)(const krb5_data *, type **)
44 extern krb5_error_code (*k5int_encode_##type)(const type **, krb5_data **); \
45 extern krb5_error_code (*k5int_decode_##type)(const krb5_data *, type ***)
60 (const krb5_data *, krb5_principal_data **);
63 (const krb5_algorithm_identifier **, krb5_data **code);
65 (const krb5_data *, krb5_algorithm_identifier ***);
68 (const krb5_external_principal_identifier **, krb5_data **code);
70 (const krb5_data *, krb5_external_principal_identifier ***);
73 (const krb5_data *output, krb5_kdc_req **rep);
[all …]
H A Dpkinit_accessor.c35 krb5_error_code (*k5int_encode_##type)(const type *, krb5_data **); \
36 krb5_error_code (*k5int_decode_##type)(const krb5_data *, type **)
39 krb5_error_code (*k5int_encode_##type)(const type **, krb5_data **); \
40 krb5_error_code (*k5int_decode_##type)(const krb5_data *, type ***)
55 (const krb5_data *, krb5_principal_data **);
58 (const krb5_algorithm_identifier **, krb5_data **code);
60 (const krb5_data *, krb5_algorithm_identifier ***);
63 (const krb5_external_principal_identifier **, krb5_data **code);
65 (const krb5_data *, krb5_external_principal_identifier ***);
68 (const krb5_data *output, krb5_kdc_req **rep);
[all …]
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk5_kmd5des.c62 krb5_const krb5_data *ivec, in k5_md5des_hash()
63 krb5_const krb5_data *input, krb5_data *output) in k5_md5des_hash()
66 krb5_data data; in k5_md5des_hash()
70 krb5_data *hash_input; in k5_md5des_hash()
88 hash_input = (krb5_data *)MALLOC(sizeof(krb5_data) * 2); in k5_md5des_hash()
108 FREE(hash_input, sizeof(krb5_data) * 2); in k5_md5des_hash()
137 FREE(hash_input, sizeof(krb5_data) * 2); in k5_md5des_hash()
147 FREE(hash_input, sizeof(krb5_data) * 2); in k5_md5des_hash()
157 krb5_const krb5_data *ivec, in k5_md5des_verify()
158 krb5_const krb5_data *input, in k5_md5des_verify()
[all …]
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dkrb5_encode.c46 krb5_data *tmpcode;\
66 krb5_error_code encode_krb5_pa_pk_as_req(const krb5_pa_pk_as_req *rep, krb5_data **code) in encode_krb5_pa_pk_as_req()
75 krb5_error_code encode_krb5_pa_pk_as_req_draft9(const krb5_pa_pk_as_req_draft9 *rep, krb5_data **co… in encode_krb5_pa_pk_as_req_draft9()
84 krb5_error_code encode_krb5_pa_pk_as_rep(const krb5_pa_pk_as_rep *rep, krb5_data **code) in encode_krb5_pa_pk_as_rep()
93 krb5_error_code encode_krb5_pa_pk_as_rep_draft9(const krb5_pa_pk_as_rep_draft9 *rep, krb5_data **co… in encode_krb5_pa_pk_as_rep_draft9()
102 krb5_error_code encode_krb5_auth_pack(const krb5_auth_pack *rep, krb5_data **code) in encode_krb5_auth_pack()
111 krb5_error_code encode_krb5_auth_pack_draft9(const krb5_auth_pack_draft9 *rep, krb5_data **code) in encode_krb5_auth_pack_draft9()
120 krb5_error_code encode_krb5_kdc_dh_key_info(const krb5_kdc_dh_key_info *rep, krb5_data **code) in encode_krb5_kdc_dh_key_info()
129 krb5_error_code encode_krb5_reply_key_pack(const krb5_reply_key_pack *rep, krb5_data **code) in encode_krb5_reply_key_pack()
138 krb5_error_code encode_krb5_reply_key_pack_draft9(const krb5_reply_key_pack_draft9 *rep, krb5_data in encode_krb5_reply_key_pack_draft9()
[all …]
H A Dkrb5_decode.c203 krb5_error_code decode_krb5_authenticator(const krb5_data *code, krb5_authenticator **rep) in decode_krb5_authenticator()
245 krb5_decode_ticket(const krb5_data *code, krb5_ticket **rep) in krb5_decode_ticket()
250 krb5_error_code decode_krb5_ticket(const krb5_data *code, krb5_ticket **rep) in decode_krb5_ticket()
279 krb5_error_code decode_krb5_encryption_key(const krb5_data *code, krb5_keyblock **rep) in decode_krb5_encryption_key()
293 krb5_error_code decode_krb5_enc_tkt_part(const krb5_data *code, krb5_enc_tkt_part **rep) in decode_krb5_enc_tkt_part()
332 krb5_error_code decode_krb5_enc_kdc_rep_part(const krb5_data *code, krb5_enc_kdc_rep_part **rep) in decode_krb5_enc_kdc_rep_part()
351 krb5_error_code decode_krb5_as_rep(const krb5_data *code, krb5_kdc_rep **rep) in decode_krb5_as_rep()
367 krb5_error_code decode_krb5_tgs_rep(const krb5_data *code, krb5_kdc_rep **rep) in decode_krb5_tgs_rep()
382 krb5_error_code decode_krb5_ap_req(const krb5_data *code, krb5_ap_req **rep) in decode_krb5_ap_req()
416 krb5_error_code decode_krb5_ap_rep(const krb5_data *code, krb5_ap_rep **rep) in decode_krb5_ap_rep()
[all …]
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_decrypt.c44 const krb5_data *ivec,
45 const krb5_data *input,
46 krb5_data *output,
55 const krb5_data *ivec, const krb5_data *input, in krb5_dk_decrypt()
56 krb5_data *output) in krb5_dk_decrypt()
68 const krb5_data *ivec, const krb5_data *input, in krb5int_aes_dk_decrypt()
69 krb5_data *output) in krb5int_aes_dk_decrypt()
81 const krb5_data *ivec, const krb5_data *input, in krb5_dk_decrypt_maybe_trunc_hmac()
82 krb5_data *output, size_t hmacsize) in krb5_dk_decrypt_maybe_trunc_hmac()
87 krb5_data d1, d2; in krb5_dk_decrypt_maybe_trunc_hmac()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchk_trans.c48 process_intermediates (krb5_error_code (*fn)(krb5_data *, void *), void *data, in process_intermediates() argument
49 const krb5_data *n1, const krb5_data *n2) { in process_intermediates()
62 const krb5_data *p; in process_intermediates()
100 krb5_data d; in process_intermediates()
124 krb5_data d; in process_intermediates()
140 maybe_join (krb5_data *last, krb5_data *buf, int bufsiz) in maybe_join()
172 foreach_realm (krb5_error_code (*fn)(krb5_data *comp,void *data), void *data, in foreach_realm()
173 const krb5_data *crealm, const krb5_data *srealm, in foreach_realm()
174 const krb5_data *transit) in foreach_realm()
179 krb5_data this_component; in foreach_realm()
[all …]
H A Dchpw.c20 krb5_data *ap_req, in krb5int_mk_chpw_req()
22 krb5_data *packet) in krb5int_mk_chpw_req()
25 krb5_data clearpw; in krb5int_mk_chpw_req()
26 krb5_data cipherpw; in krb5int_mk_chpw_req()
84 …rb5_context context, krb5_auth_context auth_context, krb5_data *packet, int *result_code, krb5_dat… in krb5int_rd_chpw_rep()
88 krb5_data ap_rep; in krb5int_rd_chpw_rep()
91 krb5_data cipherresult; in krb5int_rd_chpw_rep()
92 krb5_data clearresult; in krb5int_rd_chpw_rep()
280 krb5_data *ap_req, in krb5int_mk_setpw_req()
283 krb5_data *packet ) in krb5int_mk_setpw_req()
[all …]
H A Dcopy_data.c37 krb5_copy_data(krb5_context context, const krb5_data *indata, krb5_data **outdata) in krb5_copy_data()
39 krb5_data *tempdata; in krb5_copy_data()
46 if (!(tempdata = (krb5_data *)malloc(sizeof(*tempdata)))) in krb5_copy_data()
64 krb5int_copy_data_contents(krb5_context context, const krb5_data *indata, krb5_data *outdata) in krb5int_copy_data_contents()
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Ddes.c39 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_docrypt()
40 krb5_data *output, int encrypt) in k5_des_docrypt()
68 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_encrypt()
69 krb5_data *output) in k5_des_encrypt()
76 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_decrypt()
77 krb5_data *output) in k5_des_decrypt()
83 k5_des_make_key(krb5_context context, krb5_const krb5_data *randombits, in k5_des_make_key()
H A Ddes3.c38 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_docrypt()
39 krb5_const krb5_data *input, krb5_data *output, int encrypt) in k5_des3_docrypt()
69 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_encrypt()
70 krb5_const krb5_data *input, krb5_data *output) in k5_des3_encrypt()
77 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_decrypt()
78 krb5_const krb5_data *input, krb5_data *output) in k5_des3_decrypt()
84 k5_des3_make_key(krb5_context context, krb5_const krb5_data *randombits, in k5_des3_make_key()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstring_to_key.c38 const krb5_data *string,
39 const krb5_data *salt,
40 const krb5_data *params,
46 const krb5_data *string, const krb5_data *salt, in krb5_c_string_to_key()
55 const krb5_data *string, in krb5_c_string_to_key_with_params()
56 const krb5_data *salt, in krb5_c_string_to_key_with_params()
57 const krb5_data *params, krb5_keyblock *key) in krb5_c_string_to_key_with_params()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dchangepw.c50 krb5_data ap_req;
59 krb5_locate_kpasswd(krb5_context context, const krb5_data *realm, in krb5_locate_kpasswd()
95 static void kpasswd_sendto_msg_cleanup (void* callback_context, krb5_data* message) in kpasswd_sendto_msg_cleanup()
102 static int kpasswd_sendto_msg_callback(struct conn_state *conn, void *callback_context, krb5_data* … in kpasswd_sendto_msg_callback()
109 krb5_data output; in kpasswd_sendto_msg_callback()
111 memset (message, 0, sizeof(krb5_data)); in kpasswd_sendto_msg_callback()
195 int *result_code, krb5_data *result_code_string, in krb5_change_set_password()
196 krb5_data *result_string) in krb5_change_set_password()
198 krb5_data chpw_rep; in krb5_change_set_password()
338 …text, krb5_creds *creds, char *newpw, int *result_code, krb5_data *result_code_string, krb5_data *… in krb5_change_password()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.h10 krb5_data *key,
15 krb5_data * content,
24 krb5_data * content,
30 krb5_data *key);
34 krb5_data *contents);
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_xdr.h10 krb5_data *key,
15 krb5_data * content,
24 krb5_data * content,
30 krb5_data *key);
34 krb5_data *contents);
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/crypto/old/
H A Ddes_stringtokey.c35 const krb5_data * data,
36 const krb5_data * salt);
42 const krb5_data *string, in krb5int_des_string_to_key()
43 const krb5_data *salt, const krb5_data *parm, in krb5int_des_string_to_key()

12345678910