Home
last modified time | relevance | path

Searched refs:SecurityBuffer (Results 1 – 11 of 11) sorted by relevance

/external/cronet/net/ntlm/
Dntlm_client.cc58 SecurityBuffer lm_payload, in WriteAuthenticateMessage()
59 SecurityBuffer ntlm_payload, in WriteAuthenticateMessage()
60 SecurityBuffer domain_payload, in WriteAuthenticateMessage()
61 SecurityBuffer username_payload, in WriteAuthenticateMessage()
62 SecurityBuffer hostname_payload, in WriteAuthenticateMessage()
63 SecurityBuffer session_key_payload, in WriteAuthenticateMessage()
140 SecurityBuffer* buffer) { in ComputeSecurityBuffer()
176 writer.WriteSecurityBuffer(SecurityBuffer(kNegotiateMessageLen, 0)) && in GenerateNegotiateMessage()
177 writer.WriteSecurityBuffer(SecurityBuffer(kNegotiateMessageLen, 0)) && in GenerateNegotiateMessage()
269 SecurityBuffer lm_info; in GenerateAuthenticateMessage()
[all …]
Dntlm_client.h135 SecurityBuffer* lm_info,
136 SecurityBuffer* ntlm_info,
137 SecurityBuffer* domain_info,
138 SecurityBuffer* username_info,
139 SecurityBuffer* hostname_info,
140 SecurityBuffer* session_key_info,
Dntlm_buffer_reader.h69 bool CanReadFrom(SecurityBuffer sec_buf) const { in CanReadFrom()
96 [[nodiscard]] bool ReadBytesFrom(const SecurityBuffer& sec_buf,
104 [[nodiscard]] bool ReadPayloadAsBufferReader(const SecurityBuffer& sec_buf,
115 [[nodiscard]] bool ReadSecurityBuffer(SecurityBuffer* sec_buf);
Dntlm_buffer_reader.cc65 bool NtlmBufferReader::ReadBytesFrom(const SecurityBuffer& sec_buf, in ReadBytesFrom()
78 bool NtlmBufferReader::ReadPayloadAsBufferReader(const SecurityBuffer& sec_buf, in ReadPayloadAsBufferReader()
88 bool NtlmBufferReader::ReadSecurityBuffer(SecurityBuffer* sec_buf) { in ReadSecurityBuffer()
190 SecurityBuffer sec_buf; in ReadTargetInfoPayload()
227 SecurityBuffer sec_buf; in SkipSecurityBufferWithValidation()
274 SecurityBuffer sec_buf; in MatchEmptySecurityBuffer()
Dntlm_constants.h22 struct SecurityBuffer { struct
23 SecurityBuffer(uint32_t offset, uint16_t length) in SecurityBuffer() argument
25 SecurityBuffer() : SecurityBuffer(0, 0) {} in SecurityBuffer() argument
Dntlm_buffer_reader_unittest.cc22 ASSERT_TRUE(reader.CanReadFrom(SecurityBuffer(0, 1))); in TEST()
24 ASSERT_FALSE(reader.CanReadFrom(SecurityBuffer(1, 1))); in TEST()
26 ASSERT_FALSE(reader.CanReadFrom(SecurityBuffer(0, 2))); in TEST()
30 ASSERT_TRUE(reader.CanReadFrom(SecurityBuffer(99, 0))); in TEST()
135 SecurityBuffer sec_buf; in TEST()
147 SecurityBuffer sec_buf; in TEST()
158 SecurityBuffer sec_buf(2, 4); in TEST()
184 reader.ReadPayloadAsBufferReader(SecurityBuffer(4, 1), &sub_reader)); in TEST()
193 reader.ReadPayloadAsBufferReader(SecurityBuffer(3, 2), &sub_reader)); in TEST()
Dntlm_client_unittest.cc41 SecurityBuffer sec_buf; in ReadBytesPayload()
50 SecurityBuffer sec_buf; in ReadStringPayload()
68 SecurityBuffer sec_buf; in ReadString16Payload()
96 challenge.WriteSecurityBuffer(SecurityBuffer(0, 0))); // target name in MakeV2ChallengeMessage()
101 SecurityBuffer(kChallengeV2HeaderLen, target_info_len))); // target info in MakeV2ChallengeMessage()
Dntlm_buffer_writer_unittest.cc164 ASSERT_TRUE(writer.WriteSecurityBuffer(SecurityBuffer(offset, length))); in TEST()
166 ASSERT_FALSE(writer.WriteSecurityBuffer(SecurityBuffer(offset, length))); in TEST()
172 SecurityBuffer sec_buf; in TEST()
Dntlm_buffer_writer.h93 [[nodiscard]] bool WriteSecurityBuffer(SecurityBuffer sec_buf);
Dntlm_buffer_writer.cc74 bool NtlmBufferWriter::WriteSecurityBuffer(SecurityBuffer sec_buf) { in WriteSecurityBuffer()
/external/cronet/net/http/
Dhttp_auth_handler_ntlm_portable_unittest.cc94 ntlm::SecurityBuffer sec_buf; in ReadBytesPayload()
103 ntlm::SecurityBuffer sec_buf; in ReadStringPayload()
122 ntlm::SecurityBuffer sec_buf; in ReadString16Payload()