Decodes input (unsigned char) into output (UINT4). Assumes len is a multiple of 4.
| 467 | // Decodes input (unsigned char) into output (UINT4). Assumes len is |
| 468 | // a multiple of 4. |
| 469 | void MD5::decode (uint4 *output, uint1 *input, uint4 len){ |
| 470 | |
| 471 | unsigned int i, j; |
| 472 | |
| 473 | for (i = 0, j = 0; j < len; i++, j += 4) |
| 474 | output[i] = ((uint4)input[j]) | (((uint4)input[j+1]) << 8) | |
| 475 | (((uint4)input[j+2]) << 16) | (((uint4)input[j+3]) << 24); |
| 476 | } |
| 477 | |
| 478 | |
| 479 |
no outgoing calls
no test coverage detected