Lines Matching refs:state

272 	context->state[0] = 0x67452301;  in PHP_MD5Init()
273 context->state[1] = 0xefcdab89; in PHP_MD5Init()
274 context->state[2] = 0x98badcfe; in PHP_MD5Init()
275 context->state[3] = 0x10325476; in PHP_MD5Init()
305 MD5Transform(context->state, context->buffer); in PHP_MD5Update()
308 MD5Transform(context->state, &input[i]); in PHP_MD5Update()
343 Encode(digest, context->state, 16); in PHP_MD5Final()
354 static void MD5Transform(state, block) in MD5Transform() argument
355 uint32_t state[4]; in MD5Transform()
358 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16];
434 state[0] += a;
435 state[1] += b;
436 state[2] += c;
437 state[3] += d;
458 static void MD4Transform(uint32_t state[4], const unsigned char block[64]) in MD4Transform()
460 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform()
518 state[0] += a; in MD4Transform()
519 state[1] += b; in MD4Transform()
520 state[2] += c; in MD4Transform()
521 state[3] += d; in MD4Transform()
532 context->state[0] = 0x67452301; in PHP_MD4Init()
533 context->state[1] = 0xefcdab89; in PHP_MD4Init()
534 context->state[2] = 0x98badcfe; in PHP_MD4Init()
535 context->state[3] = 0x10325476; in PHP_MD4Init()
563 MD4Transform(context->state, context->buffer); in PHP_MD4Update()
566 MD4Transform(context->state, &input[i]); in PHP_MD4Update()
601 Encode(digest, context->state, 16); in PHP_MD4Final()
639 context->state[16+i] = block[i]; in MD2_Transform()
640 context->state[32+i] = (context->state[16+i] ^ context->state[i]); in MD2_Transform()
645 t = context->state[j] = context->state[j] ^ MD2_S[t]; in MD2_Transform()
694 memcpy(output, context->state, 16); in PHP_MD2Final()