OLD | NEW |
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 Loading... |
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 |
OLD | NEW |