Lines Matching refs:auth

95 #define	AUTH_PRIVATE(auth) ((rpc_gss_data *)auth->ah_private)  argument
118 AUTH *auth = NULL; local
151 if ((auth = (AUTH *) malloc(sizeof (*auth))) != NULL)
153 if (auth == NULL || ap == NULL) {
156 if (auth != NULL)
157 free((char *)auth);
186 if (!rpc_gss_seccreate_pvt(&gssstat, &minor_stat, auth, ap,
191 free((char *)auth);
202 rpc_gss_destroy(auth);
225 return (auth);
233 rpc_gss_seccreate_pvt(gssstat, minor_stat, auth, ap, actual_mech_type, in rpc_gss_seccreate_pvt() argument
237 AUTH *auth;
259 memset((char *)auth, 0, sizeof (*auth));
260 auth->ah_ops = &rpc_gss_ops;
261 auth->ah_private = (caddr_t)ap;
262 auth->ah_cred.oa_flavor = RPCSEC_GSS;
276 clnt->cl_auth = auth;
394 rpc_gss_destroy_pvt(auth);
415 __rpc_gss_set_defaults(auth, service, qop) in __rpc_gss_set_defaults() argument
416 AUTH *auth; in __rpc_gss_set_defaults()
421 rpc_gss_data *ap = AUTH_PRIVATE(auth);
551 rpc_gss_marshall(auth, xdrs) in rpc_gss_marshall() argument
552 AUTH *auth; in rpc_gss_marshall()
555 if (!xdr_opaque_auth(xdrs, &auth->ah_cred) ||
556 !xdr_opaque_auth(xdrs, &auth->ah_verf))
590 rpc_gss_validate(auth, verf) in rpc_gss_validate() argument
591 AUTH *auth; in rpc_gss_validate()
595 rpc_gss_data *ap = AUTH_PRIVATE(auth);
640 rpc_gss_refresh(auth, msg) in rpc_gss_refresh() argument
641 AUTH *auth; in rpc_gss_refresh()
645 rpc_gss_data *ap = AUTH_PRIVATE(auth);
689 if (rpc_gss_seccreate_pvt(&gssstat, &minor_stat, auth, ap,
704 rpc_gss_destroy(auth) in rpc_gss_destroy() argument
705 AUTH *auth; in rpc_gss_destroy()
708 rpc_gss_data *ap = AUTH_PRIVATE(auth);
710 rpc_gss_destroy_pvt(auth);
712 free(auth);
721 rpc_gss_destroy_pvt(auth) in rpc_gss_destroy_pvt() argument
722 AUTH *auth; in rpc_gss_destroy_pvt()
727 rpc_gss_data *ap = AUTH_PRIVATE(auth);
785 __rpc_gss_wrap(auth, buf, buflen, out_xdrs, xdr_func, xdr_ptr) in __rpc_gss_wrap() argument
786 AUTH *auth; in __rpc_gss_wrap()
794 rpc_gss_data *ap = AUTH_PRIVATE(auth);
853 __rpc_gss_unwrap(auth, in_xdrs, xdr_func, xdr_ptr) in __rpc_gss_unwrap() argument
854 AUTH *auth; in __rpc_gss_unwrap()
860 rpc_gss_data *ap = AUTH_PRIVATE(auth);
877 __rpc_gss_max_data_length(auth, max_tp_unit_len) in __rpc_gss_max_data_length() argument
878 AUTH *auth; in __rpc_gss_max_data_length()
882 rpc_gss_data *ap = AUTH_PRIVATE(auth);