Searched refs:target_info_len (Results 1 – 7 of 7) sorted by relevance
171 unsigned short target_info_len = 0; in ntlm_decode_type2_target() local181 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()
110 bool NtlmBufferReader::ReadTargetInfo(size_t target_info_len, in ReadTargetInfo() argument115 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()
47 size_t* target_info_len) { in UpdateTargetInfoAvPairs() argument51 *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()
86 void MakeV2ChallengeMessage(size_t target_info_len, std::vector<uint8_t>* out) { in MakeV2ChallengeMessage() argument90 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()
140 [[nodiscard]] bool ReadTargetInfo(size_t target_info_len,
133 #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()
412 unsigned int target_info_len;