Lines Matching refs:ntlm
68 struct ntlmdata *ntlm; in Curl_input_ntlm() local
71 ntlm = proxy ? &conn->proxyntlm : &conn->ntlm; in Curl_input_ntlm()
80 result = Curl_sasl_decode_ntlm_type2_message(conn->data, header, ntlm); in Curl_input_ntlm()
84 ntlm->state = NTLMSTATE_TYPE2; /* We got a type-2 message */ in Curl_input_ntlm()
87 if(ntlm->state == NTLMSTATE_TYPE3) { in Curl_input_ntlm()
90 ntlm->state = NTLMSTATE_NONE; in Curl_input_ntlm()
93 else if(ntlm->state >= NTLMSTATE_TYPE1) { in Curl_input_ntlm()
98 ntlm->state = NTLMSTATE_TYPE1; /* We should send away a type-1 */ in Curl_input_ntlm()
123 struct ntlmdata *ntlm; in Curl_output_ntlm() local
138 ntlm = &conn->proxyntlm; in Curl_output_ntlm()
145 ntlm = &conn->ntlm; in Curl_output_ntlm()
166 switch(ntlm->state) { in Curl_output_ntlm()
170 result = Curl_sasl_create_ntlm_type1_message(userp, passwdp, ntlm, &base64, in Curl_output_ntlm()
191 ntlm, &base64, &len); in Curl_output_ntlm()
206 ntlm->state = NTLMSTATE_TYPE3; /* we send a type-3 */ in Curl_output_ntlm()
224 Curl_sasl_ntlm_cleanup(&conn->ntlm); in Curl_http_ntlm_cleanup()