• Home
  • Raw
  • Download

Lines Matching refs:ntlm

168                                          struct ntlmdata *ntlm)  in ntlm_decode_type2_target()  argument
184 ntlm->target_info = malloc(target_info_len); in ntlm_decode_type2_target()
185 if(!ntlm->target_info) in ntlm_decode_type2_target()
188 memcpy(ntlm->target_info, &buffer[target_info_offset], target_info_len); in ntlm_decode_type2_target()
192 ntlm->target_info_len = target_info_len; in ntlm_decode_type2_target()
231 struct ntlmdata *ntlm) in Curl_sasl_decode_ntlm_type2_message() argument
277 ntlm->flags = 0; in Curl_sasl_decode_ntlm_type2_message()
288 ntlm->flags = Curl_read32_le(&type2[20]); in Curl_sasl_decode_ntlm_type2_message()
289 memcpy(ntlm->nonce, &type2[24], 8); in Curl_sasl_decode_ntlm_type2_message()
291 if(ntlm->flags & NTLMFLAG_NEGOTIATE_TARGET_INFO) { in Curl_sasl_decode_ntlm_type2_message()
292 result = ntlm_decode_type2_target(data, type2, type2_len, ntlm); in Curl_sasl_decode_ntlm_type2_message()
301 fprintf(stderr, "**** TYPE2 header flags=0x%08.8lx ", ntlm->flags); in Curl_sasl_decode_ntlm_type2_message()
302 ntlm_print_flags(stderr, ntlm->flags); in Curl_sasl_decode_ntlm_type2_message()
304 ntlm_print_hex(stderr, (char *)ntlm->nonce, 8); in Curl_sasl_decode_ntlm_type2_message()
344 struct ntlmdata *ntlm, in Curl_sasl_create_ntlm_type1_message() argument
375 Curl_sasl_ntlm_cleanup(ntlm); in Curl_sasl_create_ntlm_type1_message()
465 struct ntlmdata *ntlm, in Curl_sasl_create_ntlm_type3_message() argument
499 bool unicode = (ntlm->flags & NTLMFLAG_NEGOTIATE_UNICODE) ? TRUE : FALSE; in Curl_sasl_create_ntlm_type3_message()
536 if(ntlm->target_info_len) { in Curl_sasl_create_ntlm_type3_message()
556 &ntlm->nonce[0], lmresp); in Curl_sasl_create_ntlm_type3_message()
563 ntlm, &ntlmv2resp, &ntresplen); in Curl_sasl_create_ntlm_type3_message()
574 if(ntlm->flags & NTLMFLAG_NEGOTIATE_NTLM2_KEY) { in Curl_sasl_create_ntlm_type3_message()
591 memcpy(tmp, &ntlm->nonce[0], 8); in Curl_sasl_create_ntlm_type3_message()
621 Curl_ntlm_core_lm_resp(ntbuffer, &ntlm->nonce[0], ntresp); in Curl_sasl_create_ntlm_type3_message()
628 Curl_ntlm_core_lm_resp(lmbuffer, &ntlm->nonce[0], lmresp); in Curl_sasl_create_ntlm_type3_message()
733 LONGQUARTET(ntlm->flags)); in Curl_sasl_create_ntlm_type3_message()
767 LONGQUARTET(ntlm->flags), ntlm->flags); in Curl_sasl_create_ntlm_type3_message()
768 ntlm_print_flags(stderr, ntlm->flags); in Curl_sasl_create_ntlm_type3_message()
812 Curl_sasl_ntlm_cleanup(ntlm); in Curl_sasl_create_ntlm_type3_message()