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

Unified Diff: net/http/des_unittest.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/http/des_unittest.cc
diff --git a/net/http/des_unittest.cc b/net/http/des_unittest.cc
index a615a0844950d14996574c901f76b1da31f2225d..896d31fe8f35b64f04fe9037790224cb5c880c51 100644
--- a/net/http/des_unittest.cc
+++ b/net/http/des_unittest.cc
@@ -18,9 +18,8 @@ TEST(DESTest, KnownAnswerTest1) {
static const uint8 des_ecb_known_plaintext[] = "Netscape";
// DES known ciphertext (64-bits).
- static const uint8 des_ecb_known_ciphertext[] = {
- 0x26, 0x14, 0xe9, 0xc3, 0x28, 0x80, 0x50, 0xb0
- };
+ static const uint8 des_ecb_known_ciphertext[] = {0x26, 0x14, 0xe9, 0xc3,
+ 0x28, 0x80, 0x50, 0xb0};
uint8 ciphertext[8];
memset(ciphertext, 0xaf, sizeof(ciphertext));
@@ -33,13 +32,10 @@ TEST(DESTest, KnownAnswerTest1) {
// Operation Validation System (MOVS): Requirements and Procedures, Appendix
// A, page 124.
TEST(DESTest, KnownAnswerTest2) {
- static const uint8 key[] = {
- 0x10, 0x31, 0x6e, 0x02, 0x8c, 0x8f, 0x3b, 0x4a
- };
- static const uint8 plaintext[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
- static const uint8 known_ciphertext[] = {
- 0x82, 0xdc, 0xba, 0xfb, 0xde, 0xab, 0x66, 0x02
- };
+ static const uint8 key[] = {0x10, 0x31, 0x6e, 0x02, 0x8c, 0x8f, 0x3b, 0x4a};
+ static const uint8 plaintext[] = {0, 0, 0, 0, 0, 0, 0, 0};
+ static const uint8 known_ciphertext[] = {0x82, 0xdc, 0xba, 0xfb,
+ 0xde, 0xab, 0x66, 0x02};
uint8 ciphertext[8];
memset(ciphertext, 0xaf, sizeof(ciphertext));

Powered by Google App Engine
This is Rietveld 408576698