Home
last modified time | relevance | path

Searched refs:send_tok (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dkexgsss.c59 gss_buffer_desc gssbuf, send_tok, recv_tok, msg_tok; in kexgss_server() local
131 maj_status = ssh_gssapi_accept_ctx(ctxt, &recv_tok, &send_tok); in kexgss_server()
141 packet_put_string(send_tok.value, send_tok.length); in kexgss_server()
144 (void) gss_release_buffer(&min_status, &send_tok); in kexgss_server()
150 if (send_tok.length > 0) { in kexgss_server()
152 packet_put_string(send_tok.value, send_tok.length); in kexgss_server()
155 (void) gss_release_buffer(&min_status, &send_tok); in kexgss_server()
217 if (send_tok.length != 0) { in kexgss_server()
219 packet_put_string((char *)send_tok.value, send_tok.length); in kexgss_server()
220 (void) gss_release_buffer(&min_status, &send_tok); in kexgss_server()
H A Dkexgssc.c59 gss_buffer_desc gssbuf, send_tok, recv_tok, msg_tok; in kexgss_client() local
106 kex->options.gss_deleg_creds, token_ptr, &send_tok); in kexgss_client()
111 (void) gss_release_buffer(&min_status, &send_tok); in kexgss_client()
140 if (send_tok.length != 0) { in kexgss_client()
143 packet_put_string(send_tok.value, in kexgss_client()
144 send_tok.length); in kexgss_client()
149 packet_put_string(send_tok.value, in kexgss_client()
150 send_tok.length); in kexgss_client()
152 (void) gss_release_buffer(&min_status, &send_tok); in kexgss_client()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dauth.c86 gss_buffer_desc send_tok, recv_tok, *token_ptr; in do_auth() local
129 send_tok.value = stbuf; in do_auth()
130 send_tok.length = strlen(stbuf) + 1; in do_auth()
131 maj_stat = gss_import_name(&min_stat, &send_tok, in do_auth()
167 &send_tok, in do_auth()
185 if (send_tok.length != 0) { in do_auth()
186 int len = send_tok.length; in do_auth()
191 outlen = ENCODELEN(send_tok.length); in do_auth()
199 auth_error = radix_encode(send_tok.value, out_buf, in do_auth()
256 gss_release_buffer(&min_stat, &send_tok); in do_auth()
/titanic_44/usr/src/cmd/ssh/sshd/
H A Dauth2-gss.c197 gss_buffer_desc send_tok, recv_tok; in input_gssapi_token() local
211 maj_status = ssh_gssapi_accept_ctx(gssctxt, &recv_tok, &send_tok); in input_gssapi_token()
216 if (send_tok.length != 0) { in input_gssapi_token()
218 packet_put_string(send_tok.value, send_tok.length); in input_gssapi_token()
226 if (send_tok.length != 0) { in input_gssapi_token()
228 packet_put_string(send_tok.value, send_tok.length); in input_gssapi_token()
241 gss_release_buffer(&min_status, &send_tok); in input_gssapi_token()
249 gss_buffer_desc send_tok, recv_tok; in input_gssapi_errtok() local
262 (void) ssh_gssapi_accept_ctx(gssctxt, &recv_tok, &send_tok); in input_gssapi_errtok()
H A Dgss-serv.c153 gss_buffer_t send_tok) in ssh_gssapi_accept_ctx() argument
163 &ctx->src_name, &ctx->actual_mech, send_tok, &ctx->flags, in ssh_gssapi_accept_ctx()
169 if (ctx->major == GSS_S_CONTINUE_NEEDED && send_tok->length == 0) in ssh_gssapi_accept_ctx()
172 else if (GSS_ERROR(ctx->major) && send_tok->length == 0) in ssh_gssapi_accept_ctx()
/titanic_44/usr/src/cmd/ssh/ssh/
H A Dsshconnect2.c621 gss_buffer_desc send_tok; in input_gssapi_response() local
671 GSS_C_NO_BUFFER, &send_tok); in input_gssapi_response()
673 if (send_tok.length>0) { in input_gssapi_response()
675 packet_put_string(send_tok.value,send_tok.length); in input_gssapi_response()
688 packet_put_string(send_tok.value,send_tok.length); in input_gssapi_response()
691 gss_release_buffer(&ms, &send_tok); in input_gssapi_response()
699 gss_buffer_desc send_tok, recv_tok, g_mic_data; in input_gssapi_token() local
713 &recv_tok, &send_tok); in input_gssapi_token()
718 if (send_tok.length>0) { in input_gssapi_token()
720 packet_put_string(send_tok.value,send_tok.length); in input_gssapi_token()
[all …]
H A Dgss-clnt.c159 gss_buffer_t recv_tok, gss_buffer_t send_tok) in ssh_gssapi_init_ctx() argument
164 deleg_creds, recv_tok, send_tok); in ssh_gssapi_init_ctx()
183 send_tok, &ctx->flags, in ssh_gssapi_init_ctx()
/titanic_44/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c303 gss_buffer_desc send_tok, recv_tok, *token_ptr; in establish_context() local
321 send_tok.value = svc_name; in establish_context()
322 send_tok.length = strlen(svc_name); in establish_context()
323 maj_stat = gss_import_name(&min_stat, &send_tok, in establish_context()
347 NULL, &send_tok, &ret_flags, NULL); in establish_context()
353 if (send_tok.length != 0) { in establish_context()
356 send_tok.length)); in establish_context()
357 if (send_token(&sockfd, &send_tok) < 0) { in establish_context()
364 if (send_tok.value != NULL) { in establish_context()
365 free(send_tok.value); /* freeing svc_name */ in establish_context()
[all …]
/titanic_44/usr/src/cmd/ssh/include/
H A Dssh-gss.h123 int deleg_creds, gss_buffer_t recv_tok, gss_buffer_t send_tok);
126 gss_buffer_t send_tok);