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

Side by Side Diff: Source/wtf/MD5.cpp

Issue 14238015: Move Source/WTF/wtf to Source/wtf (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // The original file was copied from sqlite, and was in the public domain. 1 // The original file was copied from sqlite, and was in the public domain.
2 // Modifications Copyright 2006 Google Inc. All Rights Reserved 2 // Modifications Copyright 2006 Google Inc. All Rights Reserved
3 /* 3 /*
4 * Copyright (C) 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 digest.clear(); 300 digest.clear();
301 digest.append(reinterpret_cast<uint8_t*>(m_buf), 16); 301 digest.append(reinterpret_cast<uint8_t*>(m_buf), 16);
302 302
303 // In case it's sensitive 303 // In case it's sensitive
304 memset(m_buf, 0, sizeof(m_buf)); 304 memset(m_buf, 0, sizeof(m_buf));
305 memset(m_bits, 0, sizeof(m_bits)); 305 memset(m_bits, 0, sizeof(m_bits));
306 memset(m_in, 0, sizeof(m_in)); 306 memset(m_in, 0, sizeof(m_in));
307 } 307 }
308 308
309 } // namespace WTF 309 } // namespace WTF
OLDNEW
« Source/config.h ('K') | « Source/wtf/MD5.h ('k') | Source/wtf/MainThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698