Home
last modified time | relevance | path

Searched refs:target_info_len (Results 1 – 7 of 7) sorted by relevance

/external/curl/lib/vauth/
Dntlm.c171 unsigned short target_info_len = 0; in ntlm_decode_type2_target() local
181 target_info_len = Curl_read16_le(&type2[40]); in ntlm_decode_type2_target()
183 if(target_info_len > 0) { in ntlm_decode_type2_target()
185 (target_info_offset + target_info_len) > type2len || in ntlm_decode_type2_target()
193 ntlm->target_info = malloc(target_info_len); in ntlm_decode_type2_target()
197 memcpy(ntlm->target_info, &type2[target_info_offset], target_info_len); in ntlm_decode_type2_target()
201 ntlm->target_info_len = target_info_len; in ntlm_decode_type2_target()
786 ntlm->target_info_len = 0; in Curl_auth_cleanup_ntlm()
/external/cronet/net/ntlm/
Dntlm_buffer_reader.cc110 bool NtlmBufferReader::ReadTargetInfo(size_t target_info_len, in ReadTargetInfo() argument
115 if (target_info_len == 0) in ReadTargetInfo()
119 if (!CanRead(target_info_len) || target_info_len < kAvPairHeaderLen) { in ReadTargetInfo()
123 size_t target_info_end = GetCursor() + target_info_len; in ReadTargetInfo()
Dntlm.cc47 size_t* target_info_len) { in UpdateTargetInfoAvPairs() argument
51 *target_info_len = 0; in UpdateTargetInfoAvPairs()
55 *target_info_len += pair.avlen + kAvPairHeaderLen; in UpdateTargetInfoAvPairs()
91 *target_info_len += kAvPairHeaderLen + flags_pair.avlen; in UpdateTargetInfoAvPairs()
117 *target_info_len += in UpdateTargetInfoAvPairs()
122 *target_info_len += kAvPairHeaderLen; in UpdateTargetInfoAvPairs()
Dntlm_client_unittest.cc86 void MakeV2ChallengeMessage(size_t target_info_len, std::vector<uint8_t>* out) { in MakeV2ChallengeMessage() argument
90 size_t server_name_len = target_info_len - kAvPairHeaderLen * 2; in MakeV2ChallengeMessage()
93 NtlmBufferWriter challenge(kChallengeV2HeaderLen + target_info_len); in MakeV2ChallengeMessage()
101 SecurityBuffer(kChallengeV2HeaderLen, target_info_len))); // target info in MakeV2ChallengeMessage()
Dntlm_buffer_reader.h140 [[nodiscard]] bool ReadTargetInfo(size_t target_info_len,
/external/curl/lib/
Dcurl_ntlm_core.c133 #define NTLMv2_BLOB_LEN (44 -16 + ntlm->target_info_len + 4)
662 if(ntlm->target_info_len) in Curl_ntlm_core_mk_ntlmv2_resp()
663 memcpy(ptr + 44, ntlm->target_info, ntlm->target_info_len); in Curl_ntlm_core_mk_ntlmv2_resp()
Durldata.h412 unsigned int target_info_len;