Changeset 11 for trunk/src/sh_tiger0.c
- Timestamp:
- Jan 2, 2006, 12:03:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_tiger0.c
r8 r11 422 422 int md5Reset(register md5Param* p) 423 423 { 424 unsigned int i; 424 425 memcpy(p->h, md5hinit, 16); 425 memset(p->data, 0x00, 64); 426 427 for (i = 0; i < 16; i += 8) 428 { 429 p->data[i] = 0x00; 430 p->data[i+1] = 0x00; 431 p->data[i+2] = 0x00; 432 p->data[i+3] = 0x00; 433 p->data[i+4] = 0x00; 434 p->data[i+5] = 0x00; 435 p->data[i+6] = 0x00; 436 p->data[i+7] = 0x00; 437 } 438 439 /* memset(p->data, 0x00, 64); */ 426 440 p->offset = (uint8) 0; 427 441 p->nblocks = 0; … … 1527 1541 SL_ENTER(_("sh_tiger_hash_uint32")); 1528 1542 1529 memset(out, 0, 6 * sizeof(UINT32)); 1543 out[0] = 0; out[1] = 0; out[2] = 0; 1544 out[3] = 0; out[4] = 0; out[5] = 0; 1530 1545 1531 1546 res = sh_tiger_hash_val (filename, what, Length, 0);
Note:
See TracChangeset
for help on using the changeset viewer.