Home
last modified time | relevance | path

Searched refs:authdata (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_adata.c64 krb5_authdata *authdata; in krb5_authdata_size() local
76 authdata = (krb5_authdata *) arg; in krb5_authdata_size()
77 if (authdata) { in krb5_authdata_size()
82 (size_t) authdata->length); in krb5_authdata_size()
95 krb5_authdata *authdata; in krb5_authdata_externalize() local
105 authdata = (krb5_authdata *) arg; in krb5_authdata_externalize()
106 if (authdata) { in krb5_authdata_externalize()
114 (void) krb5_ser_pack_int32((krb5_int32) authdata->ad_type, in krb5_authdata_externalize()
118 (void) krb5_ser_pack_int32((krb5_int32) authdata->length, in krb5_authdata_externalize()
122 (void) krb5_ser_pack_bytes(authdata->contents, in krb5_authdata_externalize()
[all …]
H A Dcopy_auth.c140 krb5_authdata ***authdata) in krb5_decode_authdata_container() argument
145 *authdata = NULL; in krb5_decode_authdata_container()
153 code = decode_krb5_authdata(&data, authdata); in krb5_decode_authdata_container()
163 krb5_authdata *const*authdata, in krb5_encode_authdata_container() argument
173 code = encode_krb5_authdata((krb5_authdata * const *)authdata, &data); in krb5_encode_authdata_container()
H A Dkfree.c203 if (val->authdata) { in krb5_free_cred_contents()
204 krb5_free_authdata(context, val->authdata); in krb5_free_cred_contents()
205 val->authdata = 0; in krb5_free_cred_contents()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c191 authdata_match(mcreds->authdata, creds->authdata)) in krb5int_cc_creds_match_request()
385 krb5_authdata **authdata = in_creds->authdata; in krb5_creds_compare() local
386 krb5_authdata **compare_authdata = in_compare_creds->authdata; in krb5_creds_compare()
389 if (authdata && compare_authdata) { in krb5_creds_compare()
390 for (i = 0; (equal && authdata[i] && compare_authdata[i]); i++) { in krb5_creds_compare()
391 equal = (authdata[i]->ad_type == compare_authdata[i]->ad_type && in krb5_creds_compare()
392 authdata[i]->length == compare_authdata[i]->length && in krb5_creds_compare()
393 (!authdata[i]->length || in krb5_creds_compare()
394 !memcmp (authdata[i]->contents, compare_authdata[i]->contents, in krb5_creds_compare()
395 authdata[i]->length))); in krb5_creds_compare()
[all …]
H A Dcc_memory.c377 retval = krb5_copy_authdata(context, mcursor->creds->authdata, in krb5_mcc_next_cred()
378 &creds->authdata); in krb5_mcc_next_cred()
H A Dcc_file.c2084 kret = krb5_fcc_read_authdata(context, id, &creds->authdata); in krb5_fcc_next_cred()
2413 ret = krb5_fcc_store_authdata(context, id, creds->authdata); in krb5_fcc_store()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_context.c280 if (ctx->authdata != NULL) { in gss_krb5int_extract_authz_data_from_sec_context()
281 for (i = 0; ctx->authdata[i] != NULL; i++) { in gss_krb5int_extract_authz_data_from_sec_context()
282 if (ctx->authdata[i]->ad_type == ad_type) { in gss_krb5int_extract_authz_data_from_sec_context()
285 ad_data.length = ctx->authdata[i]->length; in gss_krb5int_extract_authz_data_from_sec_context()
286 ad_data.value = ctx->authdata[i]->contents; in gss_krb5int_extract_authz_data_from_sec_context()
H A Daccept_sec_context.c864 &ctx->authdata))) {
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_creds.c72 retval = krb5_copy_authdata(context, incred->authdata,&tempcred->authdata); in krb5_copy_creds()
H A Dget_creds.c91 mcreds->authdata = in_creds->authdata; in krb5_get_credentials_core()
H A Dgc_via_tkt.c73 (*ppcreds)->authdata = NULL; /* not used */ in krb5_kdcrep2creds()
229 in_cred->server, address, in_cred->authdata, in krb5_get_cred_via_tkt()
H A Drd_cred.c145 pcur->authdata = NULL; /* not used */ in krb5_rd_cred_basic()
H A Dmk_req_ext.c232 (in_creds)->authdata))) in krb5_mk_req_extended()
H A Dsend_tgs.c78 authent.authorization_data = in_cred->authdata; in krb5_send_tgs_basic()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Ddelete_sec_context.c198 if (ctx->authdata)
199 krb5_free_authdata(context, ctx->authdata);
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_krb5.h215 krb5_authdata **authdata; member
H A Dkrb5.h1126 krb5_authdata **authdata; /* authorization data */ member
2908 krb5_authdata ***authdata);
2912 krb5_authdata * const*authdata,