Lines Matching refs:context
102 register Md5_t* context = (Md5_t*)p;
104 context->count[0] = context->count[1] = 0;
105 context->state[0] = 0x67452301;
106 context->state[1] = 0xefcdab89;
107 context->state[2] = 0x98badcfe;
108 context->state[3] = 0x10325476;
271 register Md5_t* context = (Md5_t*)p;
278 index = (unsigned int)((context->count[0] >> 3) & 0x3f);
281 if ((context->count[0] += ((UINT4)inputLen << 3)) < ((UINT4)inputLen << 3))
282 context->count[1]++;
283 context->count[1] += ((UINT4)inputLen >> 29);
289 memcpy(&context->buffer[index], input, partLen);
290 md5_transform(context->state, context->buffer);
292 md5_transform(context->state, &input[i]);
299 memcpy(&context->buffer[index], &input[i], inputLen - i);
307 register Md5_t* context = (Md5_t*)p;
313 md5_encode(bits, context->count, sizeof(bits));
316 index = (unsigned int)((context->count[0] >> 3) & 0x3f);
324 md5_encode(context->digest, context->state, sizeof(context->digest));
327 for (index = 0; index < elementsof(context->digest); index++)
328 context->digest_sum[index] ^= context->digest[index];