Lines Matching defs:context

78 	gss_ctx_id_t		context;	/* GSS context id */
79 gss_buffer_desc ctx_handle; /* RPCSEC context handle */
98 * Create a context.
183 * Now invoke the real interface that sets up the context from
219 options_ret->gss_context = ap->context;
229 * Private interface to create a context. This is the interface
230 * that's invoked when the context has to be refreshed.
267 ap->context = GSS_C_NO_CONTEXT;
279 * set state for starting context setup
286 &ap->context,
381 * Done! Security context creation is successful.
393 if (ap->context != GSS_C_NO_CONTEXT)
467 * If context has not been set up yet, use NULL handle.
512 * If context is not established yet, use NULL verifier.
524 if ((major = gss_sign(&minor, ap->context, ap->qop, &in_buf,
579 major = gss_verify(&minor, ap->context, &msg_buf, &tok_buf, &qop_state);
602 * If context is not established yet, save the verifier for
603 * validating the sequence window later at the end of context
628 major = gss_verify(&minor, ap->context, &msg_buf, &tok_buf, &qop_state);
635 * Refresh client context. This is necessary sometimes because the
649 * The context needs to be recreated only when the error status
652 * The existing context should not be destroyed unless the above
653 * error status codes are received or if the context has not
661 * Destroy the context if necessary. Use the same memory
662 * for the new context since we've already passed a pointer
665 if (ap->context != GSS_C_NO_CONTEXT) {
666 (void) gss_delete_sec_context(&minor_stat, &ap->context,
668 ap->context = GSS_C_NO_CONTEXT;
678 * If the context was not already established, don't try to
687 * Recreate context.
701 * Destroy a context.
716 * Private interface to destroy a context without freeing up
730 * If we have a server context id, inform server that we are
731 * destroying the context.
746 * Destroy local GSS context.
748 if (ap->context != GSS_C_NO_CONTEXT) {
749 (void) gss_delete_sec_context(&minor_stat, &ap->context, NULL);
750 ap->context = GSS_C_NO_CONTEXT;
800 * Reject an invalid context.
806 * If context is established, bump up sequence number.
812 * Create the header in a temporary XDR context and buffer
839 * If context is not established, or if neither integrity
845 return (__rpc_gss_wrap_data(ap->service, ap->qop, ap->context,
863 * If context is not established, of if neither integrity
870 ap->context,
888 ap->context,