Lines Matching refs:auth
55 #include <rpc/auth.h>
90 static kmutex_t desauthtab_lock; /* Lock to protect DES auth cache */
325 * Load application auth related data from user land to kernel.
444 AUTH *auth;
517 &auth);
521 *ap = auth;
553 da->da_auth = auth;
574 (caddr_t)secdata, cr, &auth);
575 *ap = auth;
603 * auth create must have failed, try AUTH_NONE
614 sec_clnt_freeh(AUTH *auth)
618 switch (auth->ah_cred.oa_flavor) {
622 auth_destroy(auth); /* was overflow */
630 if (da->da_auth == auth) {
638 auth_destroy(auth); /* was overflow */
642 (void) rpc_gss_secfree(auth);
647 auth->ah_cred.oa_flavor);
661 revoke_key(AUTH *auth, int newkey)
663 if (auth == NULL)
667 if (key_gendes(&auth->ah_key) != RPC_SUCCESS) {
669 auth->ah_key.key.high ^= auth->ah_key.key.low;
670 auth->ah_key.key.low += auth->ah_key.key.high;
674 auth->ah_key.key.high = 0;
675 auth->ah_key.key.low = 0;
680 * Revoke all rpc credentials (of the selected auth type) for the given uid
681 * from the auth cache. Must be root to do this if the requested uid is not
770 /* not an auth type with cached creds */
776 * Since sec_data is the index for the client auth handles