Lines Matching full:gc
152 struct rpc_gss_cred gc; /* client credentials */ member
199 gd->gc.gc_v = RPCSEC_GSS_VERSION; in authgss_create()
200 gd->gc.gc_proc = RPCSEC_GSS_INIT; in authgss_create()
201 gd->gc.gc_svc = gd->sec.svc; in authgss_create()
267 pd->pd_ctx_hndl = gd->gc.gc_ctx; in authgss_get_private_data()
295 gd->gc.gc_seq++; in authgss_marshal()
299 if (!xdr_rpc_gss_cred(&tmpxdrs, &gd->gc)) { in authgss_marshal()
312 if (gd->gc.gc_proc == RPCSEC_GSS_INIT || in authgss_marshal()
313 gd->gc.gc_proc == RPCSEC_GSS_CONTINUE_INIT) { in authgss_marshal()
356 /* would like to do this only on NULL rpc - gc->established is good enough. in authgss_validate()
369 if (gd->gc.gc_proc == RPCSEC_GSS_INIT || in authgss_validate()
370 gd->gc.gc_proc == RPCSEC_GSS_CONTINUE_INIT) { in authgss_validate()
373 else num = htonl(gd->gc.gc_seq); in authgss_validate()
463 free(gd->gc.gc_ctx.value); in authgss_refresh()
464 gd->gc.gc_ctx = gr.gr_ctx; in authgss_refresh()
471 gd->gc.gc_proc = RPCSEC_GSS_CONTINUE_INIT; in authgss_refresh()
506 gd->gc.gc_proc = RPCSEC_GSS_DATA; in authgss_refresh()
507 gd->gc.gc_seq = 0; in authgss_refresh()
514 if (gd->gc.gc_proc != RPCSEC_GSS_DATA) { in authgss_refresh()
515 log_debug("authgss_refresh: returning ERROR (gc_proc %d)", gd->gc.gc_proc); in authgss_refresh()
540 gd->gc.gc_svc = svc; in authgss_service()
554 if (gd->gc.gc_ctx.length != 0) { in authgss_destroy_context()
556 gd->gc.gc_proc = RPCSEC_GSS_DESTROY; in authgss_destroy_context()
563 free(gd->gc.gc_ctx.value); in authgss_destroy_context()
565 memset(&gd->gc.gc_ctx, 0, sizeof(gd->gc.gc_ctx)); in authgss_destroy_context()
609 gd->sec.svc, gd->gc.gc_seq)); in authgss_wrap()
626 gd->sec.svc, gd->gc.gc_seq)); in authgss_unwrap()