Home
last modified time | relevance | path

Searched refs:output_token (Results 1 – 13 of 13) sorted by relevance

/external/curl/lib/vauth/
Dspnego_gssapi.c91 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in Curl_auth_decode_spnego_message() local
158 &output_token, in Curl_auth_decode_spnego_message()
167 if(output_token.value) in Curl_auth_decode_spnego_message()
168 gss_release_buffer(&unused_status, &output_token); in Curl_auth_decode_spnego_message()
176 if(!output_token.value || !output_token.length) { in Curl_auth_decode_spnego_message()
177 if(output_token.value) in Curl_auth_decode_spnego_message()
178 gss_release_buffer(&unused_status, &output_token); in Curl_auth_decode_spnego_message()
184 if(nego->output_token.length && nego->output_token.value) in Curl_auth_decode_spnego_message()
185 gss_release_buffer(&unused_status, &nego->output_token); in Curl_auth_decode_spnego_message()
187 nego->output_token = output_token; in Curl_auth_decode_spnego_message()
[all …]
Dkrb5_gssapi.c100 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in Curl_auth_create_gssapi_user_message() local
157 &output_token, in Curl_auth_create_gssapi_user_message()
165 if(output_token.value) in Curl_auth_create_gssapi_user_message()
166 gss_release_buffer(&unused_status, &output_token); in Curl_auth_create_gssapi_user_message()
174 if(output_token.value && output_token.length) { in Curl_auth_create_gssapi_user_message()
176 result = Curl_base64_encode(data, (char *) output_token.value, in Curl_auth_create_gssapi_user_message()
177 output_token.length, outptr, outlen); in Curl_auth_create_gssapi_user_message()
179 gss_release_buffer(&unused_status, &output_token); in Curl_auth_create_gssapi_user_message()
222 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in Curl_auth_create_gssapi_security_message() local
276 &output_token, NULL, &qop); in Curl_auth_create_gssapi_security_message()
[all …]
Ddigest_sspi.c98 unsigned char *output_token = NULL; in Curl_auth_create_digest_md5_message() local
141 output_token = malloc(token_max); in Curl_auth_create_digest_md5_message()
142 if(!output_token) { in Curl_auth_create_digest_md5_message()
151 free(output_token); in Curl_auth_create_digest_md5_message()
162 free(output_token); in Curl_auth_create_digest_md5_message()
185 free(output_token); in Curl_auth_create_digest_md5_message()
204 resp_buf.pvBuffer = output_token; in Curl_auth_create_digest_md5_message()
220 free(output_token); in Curl_auth_create_digest_md5_message()
227 result = Curl_base64_encode(data, (char *) output_token, resp_buf.cbBuffer, in Curl_auth_create_digest_md5_message()
241 free(output_token); in Curl_auth_create_digest_md5_message()
[all …]
Dntlm_sspi.c112 ntlm->output_token = malloc(ntlm->token_max); in Curl_auth_create_ntlm_type1_message()
113 if(!ntlm->output_token) in Curl_auth_create_ntlm_type1_message()
159 type_1_buf.pvBuffer = ntlm->output_token; in Curl_auth_create_ntlm_type1_message()
176 return Curl_base64_encode(data, (char *) ntlm->output_token, in Curl_auth_create_ntlm_type1_message()
303 type_3_buf.pvBuffer = ntlm->output_token; in Curl_auth_create_ntlm_type3_message()
323 result = Curl_base64_encode(data, (char *) ntlm->output_token, in Curl_auth_create_ntlm_type3_message()
363 Curl_safefree(ntlm->output_token); in Curl_auth_ntlm_cleanup()
Dspnego_sspi.c121 if(!nego->output_token) { in Curl_auth_decode_spnego_message()
135 nego->output_token = malloc(nego->token_max); in Curl_auth_decode_spnego_message()
136 if(!nego->output_token) in Curl_auth_decode_spnego_message()
232 resp_buf.pvBuffer = nego->output_token; in Curl_auth_decode_spnego_message()
294 (const char *) nego->output_token, in Curl_auth_create_spnego_message()
341 Curl_safefree(nego->output_token); in Curl_auth_spnego_cleanup()
Dkrb5_sspi.c117 if(!krb5->output_token) { in Curl_auth_create_gssapi_user_message()
132 krb5->output_token = malloc(krb5->token_max); in Curl_auth_create_gssapi_user_message()
133 if(!krb5->output_token) in Curl_auth_create_gssapi_user_message()
202 resp_buf.pvBuffer = krb5->output_token; in Curl_auth_create_gssapi_user_message()
508 Curl_safefree(krb5->output_token); in Curl_auth_gssapi_cleanup()
/external/curl/tests/libtest/
Dstub_gssapi.c76 gss_buffer_t output_token, in gss_init_sec_context() argument
98 if(!context_handle || !target_name || !output_token) { in gss_init_sec_context()
115 output_token->length = 0; in gss_init_sec_context()
116 output_token->value = NULL; in gss_init_sec_context()
224 output_token->value = token; in gss_init_sec_context()
225 output_token->length = length; in gss_init_sec_context()
232 gss_buffer_t output_token) in gss_delete_sec_context() argument
234 (void)output_token; in gss_delete_sec_context()
/external/libcups/cups/
Dauth.c309 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in _cupsSetNegotiateAuthString() local
348 &output_token, NULL, NULL); in _cupsSetNegotiateAuthString()
421 &output_token, NULL, NULL); in _cupsSetNegotiateAuthString()
442 if (output_token.length > 0 && output_token.length <= 65536) in _cupsSetNegotiateAuthString()
450 (int)output_token.length * 4 / 3 + 1 + 1; in _cupsSetNegotiateAuthString()
462 httpEncode64_2(http->authstring + 10, authsize - 10, output_token.value, in _cupsSetNegotiateAuthString()
463 (int)output_token.length); in _cupsSetNegotiateAuthString()
465 gss_release_buffer(&minor_status, &output_token); in _cupsSetNegotiateAuthString()
470 "large - %d bytes!", (int)output_token.length)); in _cupsSetNegotiateAuthString()
471 gss_release_buffer(&minor_status, &output_token); in _cupsSetNegotiateAuthString()
/external/curl/packages/OS400/
Dos400sys.c864 gss_buffer_t output_token, gss_flags_t * ret_flags, in Curl_gss_init_sec_context_a() argument
898 output_token, ret_flags, time_rec); in Curl_gss_init_sec_context_a()
901 if(rc != GSS_S_COMPLETE || !output_token || in Curl_gss_init_sec_context_a()
902 !output_token->length || !output_token->value) in Curl_gss_init_sec_context_a()
909 if(Curl_gss_convert_in_place(minor_status, output_token)) in Curl_gss_init_sec_context_a()
919 gss_buffer_t output_token) in Curl_gss_delete_sec_context_a() argument
924 rc = gss_delete_sec_context(minor_status, context_handle, output_token); in Curl_gss_delete_sec_context_a()
926 if(rc != GSS_S_COMPLETE || !output_token || in Curl_gss_delete_sec_context_a()
927 !output_token->length || !output_token->value) in Curl_gss_delete_sec_context_a()
934 if(Curl_gss_convert_in_place(minor_status, output_token)) in Curl_gss_delete_sec_context_a()
/external/curl/lib/
Dcurl_gssapi.c48 gss_buffer_t output_token, in Curl_gss_init_sec_context() argument
79 output_token, in Curl_gss_init_sec_context()
Dsetup-os400.h174 gss_buffer_t output_token,
182 gss_buffer_t output_token);
Dcurl_gssapi.h41 gss_buffer_t output_token,
Durldata.h320 BYTE *output_token; member
344 BYTE *output_token; member
368 gss_buffer_desc output_token; member
381 BYTE *output_token; member