Lines Matching refs:cl_rawcred
126 rpc_gss_rawcred_t cl_rawcred; /* raw credentials */ member
327 *rcred = &client->cl_rawcred; in rpc_gss_getcred()
344 switch (client->cl_rawcred.service) { in rpc_gss_svc_max_data_length()
445 if (client->cl_rawcred.client_principal) in svc_rpc_gss_destroy_client()
446 mem_free(client->cl_rawcred.client_principal, in svc_rpc_gss_destroy_client()
447 sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_destroy_client()
448 + client->cl_rawcred.client_principal->len); in svc_rpc_gss_destroy_client()
700 client->cl_rawcred.version = RPCSEC_GSS_VERSION; in svc_rpc_gss_accept_sec_context()
701 rpc_gss_oid_to_mech(mech, &client->cl_rawcred.mechanism); in svc_rpc_gss_accept_sec_context()
709 client->cl_rawcred.client_principal = in svc_rpc_gss_accept_sec_context()
710 mem_alloc(sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_accept_sec_context()
712 client->cl_rawcred.client_principal->len = export_name.length; in svc_rpc_gss_accept_sec_context()
713 memcpy(client->cl_rawcred.client_principal->name, in svc_rpc_gss_accept_sec_context()
716 client->cl_rawcred.svc_principal = in svc_rpc_gss_accept_sec_context()
718 client->cl_rawcred.service = gc->gc_svc; in svc_rpc_gss_accept_sec_context()
735 client->cl_rawcred.client_principal->name, in svc_rpc_gss_accept_sec_context()
848 lock.raw_cred = &client->cl_rawcred; in svc_rpc_gss_callback()
1129 client->cl_rawcred.qop = _rpc_gss_num_to_qop( in svc_rpc_gss()
1130 client->cl_rawcred.mechanism, qop); in svc_rpc_gss()
1143 if (client->cl_rawcred.service != gc.gc_svc) { in svc_rpc_gss()
1158 client->cl_rawcred.qop = _rpc_gss_num_to_qop( in svc_rpc_gss()
1159 client->cl_rawcred.mechanism, qop); in svc_rpc_gss()
1166 client->cl_rawcred.service = gc.gc_svc; in svc_rpc_gss()
1208 || client->cl_rawcred.service == rpc_gss_svc_none) { in svc_rpc_gss_wrap()
1213 client->cl_rawcred.service, client->cl_seq)); in svc_rpc_gss_wrap()
1225 || client->cl_rawcred.service == rpc_gss_svc_none) { in svc_rpc_gss_unwrap()
1230 client->cl_rawcred.service, client->cl_seq)); in svc_rpc_gss_unwrap()