Lines Matching refs:auth
444 AUTH *auth; in sec_clnt_geth() local
517 &auth); in sec_clnt_geth()
521 *ap = auth; in sec_clnt_geth()
553 da->da_auth = auth; in sec_clnt_geth()
574 (caddr_t)secdata, cr, &auth); in sec_clnt_geth()
575 *ap = auth; in sec_clnt_geth()
614 sec_clnt_freeh(AUTH *auth) in sec_clnt_freeh() argument
618 switch (auth->ah_cred.oa_flavor) { in sec_clnt_freeh()
622 auth_destroy(auth); /* was overflow */ in sec_clnt_freeh()
630 if (da->da_auth == auth) { in sec_clnt_freeh()
638 auth_destroy(auth); /* was overflow */ in sec_clnt_freeh()
642 (void) rpc_gss_secfree(auth); in sec_clnt_freeh()
647 auth->ah_cred.oa_flavor); in sec_clnt_freeh()
661 revoke_key(AUTH *auth, int newkey) in revoke_key() argument
663 if (auth == NULL) in revoke_key()
667 if (key_gendes(&auth->ah_key) != RPC_SUCCESS) { in revoke_key()
669 auth->ah_key.key.high ^= auth->ah_key.key.low; in revoke_key()
670 auth->ah_key.key.low += auth->ah_key.key.high; in revoke_key()
674 auth->ah_key.key.high = 0; in revoke_key()
675 auth->ah_key.key.low = 0; in revoke_key()