Lines Matching refs:gsd
759 struct gss_svc_data *gsd = rqstp->rq_auth_data; in svcauth_gss_encode_verf() local
765 gsd->gsd_seq_num = cpu_to_be32(seq); in svcauth_gss_encode_verf()
766 iov.iov_base = &gsd->gsd_seq_num; in svcauth_gss_encode_verf()
770 checksum.data = gsd->gsd_scratch; in svcauth_gss_encode_verf()
862 struct gss_svc_data *gsd = rqstp->rq_auth_data; in svcauth_gss_unwrap_integ() local
900 if (checksum.len > sizeof(gsd->gsd_scratch)) in svcauth_gss_unwrap_integ()
902 checksum.data = gsd->gsd_scratch; in svcauth_gss_unwrap_integ()
1764 svcauth_gss_prepare_to_wrap(struct svc_rqst *rqstp, struct gss_svc_data *gsd) in svcauth_gss_prepare_to_wrap() argument
1769 offset = gsd->gsd_databody_offset; in svcauth_gss_prepare_to_wrap()
1770 gsd->gsd_databody_offset = 0; in svcauth_gss_prepare_to_wrap()
1802 struct gss_svc_data *gsd = rqstp->rq_auth_data; in svcauth_gss_wrap_integ() local
1804 struct rpc_gss_wire_cred *gc = &gsd->clcred; in svcauth_gss_wrap_integ()
1810 offset = svcauth_gss_prepare_to_wrap(rqstp, gsd); in svcauth_gss_wrap_integ()
1824 checksum.data = gsd->gsd_scratch; in svcauth_gss_wrap_integ()
1825 maj_stat = gss_get_mic(gsd->rsci->mechctx, &databody_integ, &checksum); in svcauth_gss_wrap_integ()
1863 struct gss_svc_data *gsd = rqstp->rq_auth_data; in svcauth_gss_wrap_priv() local
1864 struct rpc_gss_wire_cred *gc = &gsd->clcred; in svcauth_gss_wrap_priv()
1871 offset = svcauth_gss_prepare_to_wrap(rqstp, gsd); in svcauth_gss_wrap_priv()
1917 maj_stat = gss_wrap(gsd->rsci->mechctx, offset + XDR_UNIT, buf, in svcauth_gss_wrap_priv()
1956 struct gss_svc_data *gsd = rqstp->rq_auth_data; in svcauth_gss_release() local
1960 if (!gsd) in svcauth_gss_release()
1962 gc = &gsd->clcred; in svcauth_gss_release()
1997 if (gsd && gsd->rsci) { in svcauth_gss_release()
1998 cache_put(&gsd->rsci->h, sn->rsc_cache); in svcauth_gss_release()
1999 gsd->rsci = NULL; in svcauth_gss_release()