Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: net/ntlm/des.cc

Issue 2873673002: Add unit tests for NTLMv1 portable implementation (Closed)
Patch Set: Review feedback Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) ^

Powered by Google App Engine
This is Rietveld 408576698