 Chromium Code Reviews
 Chromium Code Reviews Issue 2873673002:
  Add unit tests for NTLMv1 portable implementation  (Closed)
    
  
    Issue 2873673002:
  Add unit tests for NTLMv1 portable implementation  (Closed) 
  | Index: net/ntlm/des.cc | 
| diff --git a/net/http/des.cc b/net/ntlm/des.cc | 
| similarity index 98% | 
| rename from net/http/des.cc | 
| rename to net/ntlm/des.cc | 
| index 57f67d7c51f81e3fe76c690e499ee8f9aa1cdb04..1df586f3ba12e5396ce77ce872da3211cf313904 100644 | 
| --- a/net/http/des.cc | 
| +++ b/net/ntlm/des.cc | 
| @@ -2,7 +2,7 @@ | 
| // Use of this source code is governed by a BSD-style license that can be | 
| // found in the LICENSE file. | 
| -#include "net/http/des.h" | 
| +#include "net/ntlm/des.h" | 
| #include "base/logging.h" | 
| #include "crypto/openssl_util.h" | 
| @@ -48,6 +48,8 @@ | 
| * | 
| * ***** END LICENSE BLOCK ***** */ | 
| +/* clang-format off */ | 
| 
Ryan Sleevi
2017/07/13 17:39:54
I would move this to line 14
 
zentaro
2017/07/13 18:20:31
Done.
 | 
| + | 
| // Set odd parity bit (in least significant bit position). | 
| static uint8_t DESSetKeyParity(uint8_t x) { | 
| if ((((x >> 7) ^ (x >> 6) ^ (x >> 5) ^ |