OLD | NEW |
1 /* | 1 /* |
2 * SHA-1 in C | 2 * SHA-1 in C |
3 * By Steve Reid <sreid@sea-to-sky.net> | 3 * By Steve Reid <sreid@sea-to-sky.net> |
4 * 100% Public Domain | 4 * 100% Public Domain |
5 * | 5 * |
6 * ----------------- | 6 * ----------------- |
7 * Modified 7/98 | 7 * Modified 7/98 |
8 * By James H. Brown <jbrown@burgoyne.com> | 8 * By James H. Brown <jbrown@burgoyne.com> |
9 * Still 100% Public Domain | 9 * Still 100% Public Domain |
10 * | 10 * |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 memset(context->state, 0, 20); | 289 memset(context->state, 0, 20); |
290 memset(context->count, 0, 8); | 290 memset(context->count, 0, 8); |
291 memset(finalcount, 0, 8); // SWR | 291 memset(finalcount, 0, 8); // SWR |
292 | 292 |
293 #ifdef SHA1HANDSOFF // Make SHA1Transform overwrite its own static vars. | 293 #ifdef SHA1HANDSOFF // Make SHA1Transform overwrite its own static vars. |
294 SHA1Transform(context->state, context->buffer); | 294 SHA1Transform(context->state, context->buffer); |
295 #endif | 295 #endif |
296 } | 296 } |
297 | 297 |
298 } // namespace rtc | 298 } // namespace rtc |
OLD | NEW |