Home
last modified time | relevance | path

Searched refs:s_pSecFn (Results 1 – 8 of 8) sorted by relevance

/external/curl/lib/
Dsocks_sspi.c135 status = s_pSecFn->AcquireCredentialsHandle(NULL, in Curl_SOCKS5_gssapi_negotiate()
148 s_pSecFn->FreeCredentialsHandle(&cred_handle); in Curl_SOCKS5_gssapi_negotiate()
161 status = s_pSecFn->InitializeSecurityContext(&cred_handle, in Curl_SOCKS5_gssapi_negotiate()
180 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
187 s_pSecFn->FreeCredentialsHandle(&cred_handle); in Curl_SOCKS5_gssapi_negotiate()
188 s_pSecFn->DeleteSecurityContext(&sspi_context); in Curl_SOCKS5_gssapi_negotiate()
190 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
206 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
208 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer); in Curl_SOCKS5_gssapi_negotiate()
209 s_pSecFn->FreeCredentialsHandle(&cred_handle); in Curl_SOCKS5_gssapi_negotiate()
[all …]
Dcurl_sspi.c55 PSecurityFunctionTable s_pSecFn = NULL; variable
93 s_pSecFn = pInitSecurityInterface(); in Curl_sspi_global_init()
94 if(!s_pSecFn) in Curl_sspi_global_init()
112 s_pSecFn = NULL; in Curl_sspi_global_cleanup()
Dcurl_sspi.h59 extern PSecurityFunctionTable s_pSecFn;
/external/curl/lib/vauth/
Ddigest_sspi.c106 status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) TEXT(SP_NAME_DIGEST), in Curl_auth_create_digest_md5_message()
117 s_pSecFn->FreeContextBuffer(SecurityPackage); in Curl_auth_create_digest_md5_message()
155 status = s_pSecFn->AcquireCredentialsHandle(NULL, in Curl_auth_create_digest_md5_message()
187 status = s_pSecFn->InitializeSecurityContext(&credentials, NULL, spn, in Curl_auth_create_digest_md5_message()
194 s_pSecFn->CompleteAuthToken(&credentials, &resp_desc); in Curl_auth_create_digest_md5_message()
196 s_pSecFn->FreeCredentialsHandle(&credentials); in Curl_auth_create_digest_md5_message()
210 s_pSecFn->DeleteSecurityContext(&context); in Curl_auth_create_digest_md5_message()
211 s_pSecFn->FreeCredentialsHandle(&credentials); in Curl_auth_create_digest_md5_message()
380 status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) TEXT(SP_NAME_DIGEST), in Curl_auth_create_digest_http_message()
388 s_pSecFn->FreeContextBuffer(SecurityPackage); in Curl_auth_create_digest_http_message()
[all …]
Dkrb5_sspi.c97 status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) in Curl_auth_create_gssapi_user_message()
107 s_pSecFn->FreeContextBuffer(SecurityPackage); in Curl_auth_create_gssapi_user_message()
138 status = s_pSecFn->AcquireCredentialsHandle(NULL, in Curl_auth_create_gssapi_user_message()
188 status = s_pSecFn->InitializeSecurityContext(krb5->credentials, in Curl_auth_create_gssapi_user_message()
207 s_pSecFn->DeleteSecurityContext(krb5->context); in Curl_auth_create_gssapi_user_message()
288 status = s_pSecFn->QueryContextAttributes(krb5->context, in Curl_auth_create_gssapi_security_message()
298 status = s_pSecFn->QueryCredentialsAttributes(krb5->credentials, in Curl_auth_create_gssapi_security_message()
319 status = s_pSecFn->DecryptMessage(krb5->context, &input_desc, 0, &qop); in Curl_auth_create_gssapi_security_message()
339 s_pSecFn->FreeContextBuffer(input_buf[1].pvBuffer); in Curl_auth_create_gssapi_security_message()
416 status = s_pSecFn->EncryptMessage(krb5->context, KERB_WRAP_NO_ENCRYPT, in Curl_auth_create_gssapi_security_message()
[all …]
Dntlm_sspi.c73 status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) TEXT(SP_NAME_NTLM), in Curl_auth_create_ntlm_type1_message()
81 s_pSecFn->FreeContextBuffer(SecurityPackage); in Curl_auth_create_ntlm_type1_message()
111 status = s_pSecFn->AcquireCredentialsHandle(NULL, in Curl_auth_create_ntlm_type1_message()
135 status = s_pSecFn->InitializeSecurityContext(ntlm->credentials, NULL, in Curl_auth_create_ntlm_type1_message()
143 s_pSecFn->CompleteAuthToken(ntlm->context, &type_1_desc); in Curl_auth_create_ntlm_type1_message()
252 status = s_pSecFn->InitializeSecurityContext(ntlm->credentials, in Curl_auth_create_ntlm_type3_message()
290 s_pSecFn->DeleteSecurityContext(ntlm->context); in Curl_auth_ntlm_cleanup()
297 s_pSecFn->FreeCredentialsHandle(ntlm->credentials); in Curl_auth_ntlm_cleanup()
Dspnego_sspi.c100 nego->status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) in Curl_auth_decode_spnego_message()
109 s_pSecFn->FreeContextBuffer(SecurityPackage); in Curl_auth_decode_spnego_message()
141 s_pSecFn->AcquireCredentialsHandle(NULL, in Curl_auth_decode_spnego_message()
190 nego->status = s_pSecFn->InitializeSecurityContext(nego->credentials, in Curl_auth_decode_spnego_message()
210 nego->status = s_pSecFn->CompleteAuthToken(nego->context, &resp_desc); in Curl_auth_decode_spnego_message()
272 s_pSecFn->DeleteSecurityContext(nego->context); in Curl_auth_spnego_cleanup()
279 s_pSecFn->FreeCredentialsHandle(nego->credentials); in Curl_auth_spnego_cleanup()
/external/curl/lib/vtls/
Dschannel.c225 s_pSecFn->AcquireCredentialsHandle(NULL, (TCHAR *)UNISP_NAME, in schannel_connect_step1()
333 sspi_status = s_pSecFn->InitializeSecurityContext( in schannel_connect_step1()
357 s_pSecFn->FreeContextBuffer(outbuf.pvBuffer); in schannel_connect_step1()
500 sspi_status = s_pSecFn->InitializeSecurityContext( in schannel_connect_step2()
550 s_pSecFn->FreeContextBuffer(outbuf[i].pvBuffer); in schannel_connect_step2()
658 sspi_status = s_pSecFn->QueryContextAttributes(&connssl->ctxt->ctxt_handle, in schannel_connect_step3()
724 sspi_status = s_pSecFn->QueryContextAttributes(&connssl->ctxt->ctxt_handle, in schannel_connect_step3()
878 sspi_status = s_pSecFn->QueryContextAttributes( in schannel_send()
918 sspi_status = s_pSecFn->EncryptMessage(&connssl->ctxt->ctxt_handle, 0, in schannel_send()
1133 sspi_status = s_pSecFn->DecryptMessage(&connssl->ctxt->ctxt_handle, in schannel_recv()
[all …]