Home
last modified time | relevance | path

Searched refs:context_handle (Results 1 – 25 of 44) sorted by relevance

12

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/
H A Dkrb5mech.c183 k5glue_delete_sec_context(ctx, minor_status, context_handle, output_token, in k5glue_delete_sec_context() argument
187 gss_ctx_id_t *context_handle;
192 context_handle, output_token,
199 k5glue_import_sec_context(ctx, minor_status, interprocess_token, context_handle) in k5glue_import_sec_context() argument
203 gss_ctx_id_t *context_handle;
207 context_handle));
213 k5glue_seal(ctx, minor_status, context_handle, conf_req_flag, qop_req, in k5glue_seal() argument
218 gss_ctx_id_t context_handle;
226 return (krb5_gss_seal(minor_status, context_handle,
233 k5glue_sign(ctx, minor_status, context_handle, in k5glue_sign() argument
[all …]
/titanic_41/usr/src/lib/libgss/
H A Dg_seal.c36 gss_ctx_id_t context_handle, in val_seal_args() argument
56 if (context_handle == GSS_C_NO_CONTEXT) in val_seal_args()
71 context_handle, in gss_seal() argument
79 gss_ctx_id_t context_handle;
91 context_handle,
102 ctx = (gss_union_ctx_id_t) context_handle;
129 context_handle, in gss_wrap() argument
137 const gss_ctx_id_t context_handle;
145 return gss_seal(minor_status, (gss_ctx_id_t)context_handle,
155 gss_wrap_size_limit(minor_status, context_handle, conf_req_flag, in gss_wrap_size_limit() argument
[all …]
H A Dg_delete_sec_context.c39 gss_ctx_id_t *context_handle, in val_del_sec_ctx_args() argument
58 if (context_handle == NULL || *context_handle == GSS_C_NO_CONTEXT) in val_del_sec_ctx_args()
66 context_handle, in gss_delete_sec_context() argument
70 gss_ctx_id_t * context_handle;
78 context_handle,
88 ctx = (gss_union_ctx_id_t) *context_handle;
102 free(*context_handle);
103 *context_handle = GSS_C_NO_CONTEXT;
H A Dg_sign.c35 gss_ctx_id_t context_handle, in val_sign_args() argument
55 if (context_handle == GSS_C_NO_CONTEXT) in val_sign_args()
69 context_handle, in gss_sign() argument
75 gss_ctx_id_t context_handle;
85 status = val_sign_args(minor_status, context_handle,
95 ctx = (gss_union_ctx_id_t) context_handle;
120 context_handle, in gss_get_mic() argument
126 const gss_ctx_id_t context_handle;
132 return (gss_sign(minor_status, (gss_ctx_id_t)context_handle,
H A Dg_init_sec_context.c37 gss_ctx_id_t *context_handle, in val_init_sec_ctx_args() argument
61 if (context_handle == NULL) in val_init_sec_ctx_args()
76 context_handle, in gss_init_sec_context() argument
90 gss_ctx_id_t *context_handle;
113 context_handle,
161 if (*context_handle == GSS_C_NO_CONTEXT) {
175 union_ctx_id->internal_ctx_id = *context_handle;
177 union_ctx_id = (gss_union_ctx_id_t)*context_handle;
215 if (*context_handle == GSS_C_NO_CONTEXT) {
220 } else if (*context_handle == GSS_C_NO_CONTEXT)
[all …]
H A Dg_verify.c34 context_handle, in gss_verify() argument
40 gss_ctx_id_t context_handle;
53 if (context_handle == GSS_C_NO_CONTEXT)
65 ctx = (gss_union_ctx_id_t) context_handle;
90 context_handle, in gss_verify_mic() argument
96 const gss_ctx_id_t context_handle;
102 return (gss_verify(minor_status, (gss_ctx_id_t)context_handle,
H A Dg_unseal.c34 context_handle, in gss_unseal() argument
41 gss_ctx_id_t context_handle;
63 if (context_handle == GSS_C_NO_CONTEXT)
78 ctx = (gss_union_ctx_id_t) context_handle;
104 context_handle, in gss_unwrap() argument
111 const gss_ctx_id_t context_handle;
118 return (gss_unseal(minor_status, (gss_ctx_id_t)context_handle,
H A Dg_exp_sec_context.c41 gss_ctx_id_t *context_handle, in val_exp_sec_ctx_args() argument
60 if (context_handle == NULL || *context_handle == GSS_C_NO_CONTEXT) in val_exp_sec_ctx_args()
71 context_handle, in gss_export_sec_context() argument
75 gss_ctx_id_t *context_handle;
87 context_handle, interprocess_token);
96 ctx = (gss_union_ctx_id_t)*context_handle;
135 *context_handle = 0;
H A Dg_imp_sec_context.c42 gss_ctx_id_t *context_handle) in val_imp_sec_ctx_args() argument
49 if (context_handle != NULL) in val_imp_sec_ctx_args()
50 *context_handle = GSS_C_NO_CONTEXT; in val_imp_sec_ctx_args()
57 if (context_handle == NULL) in val_imp_sec_ctx_args()
72 context_handle) in gss_import_sec_context() argument
76 gss_ctx_id_t *context_handle;
87 interprocess_token, context_handle);
148 *context_handle = (gss_ctx_id_t)ctx;
/titanic_41/usr/src/lib/gss_mechs/mech_spnego/mech/
H A DgssapiP_spnego.h351 gss_ctx_id_t context_handle,
361 gss_ctx_id_t context_handle,
372 const gss_ctx_id_t context_handle,
379 gss_ctx_id_t *context_handle,
388 gss_ctx_id_t *context_handle,
395 const gss_ctx_id_t context_handle,
402 const gss_ctx_id_t context_handle,
410 gss_ctx_id_t *context_handle,
418 gss_ctx_id_t *context_handle,
426 gss_ctx_id_t *context_handle
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dkrb5_gss_glue.c545 k5glue_accept_sec_context(ctx, minor_status, context_handle, verifier_cred_handle, in k5glue_accept_sec_context() argument
550 gss_ctx_id_t *context_handle;
562 context_handle,
649 k5glue_context_time(ctx, minor_status, context_handle, time_rec) in k5glue_context_time() argument
652 gss_ctx_id_t context_handle;
655 return(krb5_gss_context_time(minor_status, context_handle,
672 k5glue_delete_sec_context(ctx, minor_status, context_handle, output_token) in k5glue_delete_sec_context() argument
675 gss_ctx_id_t *context_handle;
679 context_handle, output_token));
712 k5glue_export_sec_context(ctx, minor_status, context_handle, interprocess_token) in k5glue_export_sec_context() argument
[all …]
H A Dprocess_context_token.c30 krb5_gss_process_context_token(minor_status, context_handle, in krb5_gss_process_context_token() argument
33 gss_ctx_id_t context_handle;
40 if (! kg_validate_ctx_id(context_handle)) {
45 ctx = (krb5_gss_ctx_id_t) context_handle;
54 if (GSS_ERROR(majerr = kg_unseal(minor_status, context_handle,
62 return(krb5_gss_delete_sec_context(minor_status, &context_handle,
H A Dexport_sec_context.c34 krb5_gss_export_sec_context(minor_status, context_handle, interprocess_token) in krb5_gss_export_sec_context() argument
36 gss_ctx_id_t *context_handle;
51 if (!kg_validate_ctx_id(*context_handle)) {
57 ctx = (krb5_gss_ctx_id_t) *context_handle;
89 (void)krb5_gss_delete_sec_context(minor_status, context_handle, NULL);
90 *context_handle = GSS_C_NO_CONTEXT;
H A Dinq_context.c86 krb5_gss_inquire_context(minor_status, context_handle, initiator_name, in krb5_gss_inquire_context() argument
90 gss_ctx_id_t context_handle;
112 if (! kg_validate_ctx_id(context_handle)) {
117 ctx = (krb5_gss_ctx_id_rec *) context_handle;
203 const gss_ctx_id_t context_handle, in gss_krb5int_inq_session_key() argument
214 ctx = (krb5_gss_ctx_id_rec *) context_handle; in gss_krb5int_inq_session_key()
257 const gss_ctx_id_t context_handle, in gss_krb5int_extract_authz_data_from_sec_context() argument
268 ctx = (krb5_gss_ctx_id_rec *) context_handle; in gss_krb5int_extract_authz_data_from_sec_context()
307 const gss_ctx_id_t context_handle, in gss_krb5int_extract_authtime_from_sec_context() argument
314 ctx = (krb5_gss_ctx_id_rec *) context_handle; in gss_krb5int_extract_authtime_from_sec_context()
/titanic_41/usr/src/uts/common/gssapi/mechs/dummy/
H A Ddmech.c193 dummy_gss_sign(context, minor_status, context_handle, in dummy_gss_sign() argument
198 gss_ctx_id_t context_handle;
209 if (context_handle == GSS_C_NO_CONTEXT)
211 ctx = (dummy_gss_ctx_id_rec *) context_handle;
224 dummy_gss_verify(context, minor_status, context_handle, in dummy_gss_verify() argument
229 gss_ctx_id_t context_handle;
242 if (context_handle == GSS_C_NO_CONTEXT)
245 ctx = (dummy_gss_ctx_id_rec *) context_handle;
266 dummy_gss_seal(context, minor_status, context_handle, conf_req_flag, in dummy_gss_seal() argument
271 gss_ctx_id_t context_handle;
[all …]
/titanic_41/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c613 gssd_ctx_id_t *context_handle, in kgss_init_sec_context_wrapped() argument
661 arg.context_handle.GSS_CTX_ID_T_len = in kgss_init_sec_context_wrapped()
662 *context_handle == GSSD_NO_CONTEXT ? in kgss_init_sec_context_wrapped()
664 arg.context_handle.GSS_CTX_ID_T_val = (char *)context_handle; in kgss_init_sec_context_wrapped()
780 *context_handle = in kgss_init_sec_context_wrapped()
781 *((gssd_ctx_id_t *)res.context_handle.GSS_CTX_ID_T_val); in kgss_init_sec_context_wrapped()
841 gss_ctx_id_t *context_handle, in kgss_init_sec_context() argument
865 if (*context_handle == GSS_C_NO_CONTEXT) { in kgss_init_sec_context()
874 *context_handle = (gss_ctx_id_t)kctx; in kgss_init_sec_context()
876 kctx = (struct kgss_ctx *)*context_handle; in kgss_init_sec_context()
[all …]
H A Dgssd.x132 GSS_CTX_ID_T context_handle; /* handle to existing context */ member
147 GSS_CTX_ID_T context_handle; /* handle to created context */ member
159 GSS_CTX_ID_T context_handle; /* handle to existing context */ member
169 GSS_CTX_ID_T context_handle; /* handle to created context */ member
184 GSS_CTX_ID_T context_handle; /* handle to existing context */ member
195 GSS_CTX_ID_T context_handle; /* handle to existing context */ member
200 GSS_CTX_ID_T context_handle; /* handle to deleted context */ member
206 GSS_CTX_ID_T context_handle; /* handle to existing context */ member
212 GSS_CTX_ID_T context_handle; /* handle to existing context */ member
224 GSS_CTX_ID_T context_handle; /* handle to created context */ member
[all …]
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_clnt_stubs.c558 context_handle, in kgss_init_sec_context_wrapped() argument
574 OM_uint32 *context_handle;
615 arg.context_handle.GSS_CTX_ID_T_len =
616 *context_handle == (OM_uint32) GSS_C_NO_CONTEXT ? 0 :
618 arg.context_handle.GSS_CTX_ID_T_val = (char *)context_handle;
732 *context_handle = *((OM_uint32 *)
733 res.context_handle.GSS_CTX_ID_T_val);
773 gss_ctx_id_t *context_handle, in kgss_init_sec_context() argument
796 if (*context_handle == GSS_C_NO_CONTEXT) { in kgss_init_sec_context()
798 *context_handle = (gss_ctx_id_t)kctx; in kgss_init_sec_context()
[all …]
H A Dgssd_proc.c305 gss_ctx_id_t *context_handle, in gssd_convert_context_handle() argument
313 *context_handle = (gss_ctx_id_t)1; in gssd_convert_context_handle()
318 *context_handle = GSS_C_NO_CONTEXT; in gssd_convert_context_handle()
332 *context_handle = slot->ctx; in gssd_convert_context_handle()
827 gss_ctx_id_t context_handle; local
860 res->context_handle.GSS_CTX_ID_T_val = NULL;
876 gssd_convert_context_handle(&argp->context_handle, &context_handle,
889 res->context_handle.GSS_CTX_ID_T_val = NULL;
892 res->context_handle.GSS_CTX_ID_T_len = 0;
901 if (context_handle != GSS_C_NO_CONTEXT) {
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c249 context_handle, target_name, mech_type, in dummy_gss_init_sec_context() argument
256 gss_ctx_id_t *context_handle;
281 if (*context_handle == GSS_C_NO_CONTEXT) {
289 *context_handle = (gss_ctx_id_t)ctx;
310 ctx = (dummy_gss_ctx_id_t)(*context_handle);
374 dummy_gss_accept_sec_context(ct, minor_status, context_handle, in dummy_gss_accept_sec_context() argument
381 gss_ctx_id_t *context_handle;
429 if (*context_handle == GSS_C_NO_CONTEXT) {
433 *context_handle = (gss_ctx_id_t)ctx;
435 ctx = (dummy_gss_ctx_id_t)(*context_handle);
[all …]
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dsign.c37 krb5_gss_sign(minor_status, context_handle, in krb5_gss_sign() argument
45 gss_ctx_id_t context_handle;
53 return(kg_seal(minor_status, context_handle, 0,
60 krb5_gss_get_mic(minor_status, context_handle, qop_req, in krb5_gss_get_mic() argument
63 gss_ctx_id_t context_handle;
68 return(kg_seal(minor_status, context_handle, 0,
H A Dverify.c36 krb5_gss_verify(minor_status, context_handle, in krb5_gss_verify() argument
44 gss_ctx_id_t context_handle;
52 return(kg_unseal(minor_status, context_handle,
59 krb5_gss_verify_mic(minor_status, context_handle, in krb5_gss_verify_mic() argument
63 gss_ctx_id_t context_handle;
71 rstat = kg_unseal(minor_status, context_handle,
H A Dseal.c36 krb5_gss_seal(minor_status, context_handle, conf_req_flag, in krb5_gss_seal() argument
44 gss_ctx_id_t context_handle;
64 return(kg_seal(minor_status, context_handle, conf_req_flag,
71 krb5_gss_wrap(minor_status, context_handle, conf_req_flag, in krb5_gss_wrap() argument
75 gss_ctx_id_t context_handle;
85 return(kg_seal(minor_status, context_handle, conf_req_flag,
H A Dunseal.c37 krb5_gss_unseal(minor_status, context_handle, in krb5_gss_unseal() argument
45 gss_ctx_id_t context_handle;
54 return(kg_unseal(minor_status, context_handle,
61 krb5_gss_unwrap(minor_status, context_handle, in krb5_gss_unwrap() argument
65 gss_ctx_id_t context_handle;
77 rstat = kg_unseal(minor_status, context_handle,
H A Ddelete_sec_context.c109 context_handle, in krb5_gss_delete_sec_context() argument
116 gss_ctx_id_t *context_handle;
131 if (*context_handle == GSS_C_NO_CONTEXT) {
138 if (! kg_validate_ctx_id(*context_handle)) {
143 ctx = (krb5_gss_ctx_id_t) *context_handle;
153 if ((major = kg_seal(minor_status, *context_handle, 0,
163 (void)kg_delete_ctx_id(*context_handle);
210 *context_handle = GSS_C_NO_CONTEXT;

12