OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/http/ntlm_message.h" |
| 6 #include "base/macros.h" |
| 7 |
| 8 namespace net { |
| 9 |
| 10 const uint8_t NtlmMessage::SIGNATURE[] = "NTLMSSP"; |
| 11 const size_t NtlmMessage::SIGNATURE_LEN = arraysize(SIGNATURE); |
| 12 const size_t NtlmMessage::SECURITY_BUFFER_LEN = |
| 13 (2 * sizeof(uint16_t)) + sizeof(uint32_t); |
| 14 const size_t NtlmMessage::NEGOTIATE_MESSAGE_LEN = 32; |
| 15 const size_t NtlmMessage::RESPONSE_V1_LEN = 24; |
| 16 const size_t NtlmMessage::CHALLENGE_LEN = 8; |
| 17 const size_t NtlmMessage::NTLM_HASH_LEN = 16; |
| 18 |
| 19 const uint32_t NtlmMessage::NEGOTIATE_MESSAGE_FLAGS = |
| 20 NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEGOTIATE_OEM | NTLMSSP_REQUEST_TARGET | |
| 21 NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_ALWAYS_SIGN | |
| 22 NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY; |
| 23 |
| 24 } // namespace net |
OLD | NEW |