Lines Matching refs:auth

34  * auth.h, Authentication interface.
173 enum_t oa_flavor; /* flavor of auth */
174 caddr_t oa_base; /* address of more auth stuff */
233 * The ops and the auth handle provide the interface to the authenticators.
235 * AUTH *auth;
239 #define AUTH_NEXTVERF(auth) \
240 ((*((auth)->ah_ops->ah_nextverf))(auth))
241 #define auth_nextverf(auth) \
242 ((*((auth)->ah_ops->ah_nextverf))(auth))
246 #define AUTH_MARSHALL(auth, xdrs, cred) \
247 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs, cred))
248 #define auth_marshall(auth, xdrs, cred) \
249 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs, cred))
251 #define AUTH_MARSHALL(auth, xdrs) \
252 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
253 #define auth_marshall(auth, xdrs) \
254 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
258 #define AUTH_VALIDATE(auth, verfp) \
259 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
260 #define auth_validate(auth, verfp) \
261 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
264 #define AUTH_REFRESH(auth, msg, cr) \
265 ((*((auth)->ah_ops->ah_refresh))(auth, msg, cr))
266 #define auth_refresh(auth, msg, cr) \
267 ((*((auth)->ah_ops->ah_refresh))(auth, msg, cr))
269 #define AUTH_REFRESH(auth, msg) \
270 ((*((auth)->ah_ops->ah_refresh))(auth, msg))
271 #define auth_refresh(auth, msg) \
272 ((*((auth)->ah_ops->ah_refresh))(auth, msg))
275 #define AUTH_DESTROY(auth) \
276 ((*((auth)->ah_ops->ah_destroy))(auth))
277 #define auth_destroy(auth) \
278 ((*((auth)->ah_ops->ah_destroy))(auth))
284 * internal RPC frame and the auth flavor specific code to allow the
285 * auth flavor to encode (WRAP) or decode (UNWRAP) the body.
288 #define AUTH_WRAP(auth, buf, buflen, xdrs, xfunc, xwhere) \
289 ((*((auth)->ah_ops->ah_wrap))(auth, buf, buflen, \
291 #define auth_wrap(auth, buf, buflen, xdrs, xfunc, xwhere) \
292 ((*((auth)->ah_ops->ah_wrap))(auth, buf, buflen, \
295 #define AUTH_UNWRAP(auth, xdrs, xfunc, xwhere) \
296 ((*((auth)->ah_ops->ah_unwrap))(auth, xdrs, xfunc, xwhere))
297 #define auth_unwrap(auth, xdrs) \
298 ((*((auth)->ah_ops->ah_unwrap))(auth, xdrs, xfunc, xwhere))
464 * XDR an opaque authentication struct. See auth.h.