| Index: net/http/ntlm_message.cc
|
| diff --git a/net/http/ntlm_message.cc b/net/http/ntlm_message.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a97db610396ff11bf9dcfd09034a5f8cf9ba0dd7
|
| --- /dev/null
|
| +++ b/net/http/ntlm_message.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "net/http/ntlm_message.h"
|
| +#include "base/macros.h"
|
| +
|
| +namespace net {
|
| +
|
| +const uint8_t NtlmMessage::SIGNATURE[] = "NTLMSSP";
|
| +const size_t NtlmMessage::SIGNATURE_LEN = arraysize(SIGNATURE);
|
| +const size_t NtlmMessage::SECURITY_BUFFER_LEN =
|
| + (2 * sizeof(uint16_t)) + sizeof(uint32_t);
|
| +const size_t NtlmMessage::NEGOTIATE_MESSAGE_LEN = 32;
|
| +const size_t NtlmMessage::RESPONSE_V1_LEN = 24;
|
| +const size_t NtlmMessage::CHALLENGE_LEN = 8;
|
| +const size_t NtlmMessage::NTLM_HASH_LEN = 16;
|
| +
|
| +const uint32_t NtlmMessage::NEGOTIATE_MESSAGE_FLAGS =
|
| + NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEGOTIATE_OEM | NTLMSSP_REQUEST_TARGET |
|
| + NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_ALWAYS_SIGN |
|
| + NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY;
|
| +
|
| +} // namespace net
|
|
|