MD5 initialization. Begins an MD5 operation, writing a new context. */
| 92 | /* MD5 initialization. Begins an MD5 operation, writing a new context. |
| 93 | */ |
| 94 | void MD5Init(MD5_CTX *context) |
| 95 | /* context: context */ |
| 96 | { |
| 97 | context->count[0] = context->count[1] = 0; |
| 98 | /* Load magic initialization constants. */ |
| 99 | context->state[0] = 0x67452301; |
| 100 | context->state[1] = 0xefcdab89; |
| 101 | context->state[2] = 0x98badcfe; |
| 102 | context->state[3] = 0x10325476; |
| 103 | } |
| 104 | |
| 105 | /* MD5 block update operation. Continues an MD5 message-digest |
| 106 | operation, processing another message block, and updating the |