Lines Matching refs:state
270 context->state[0] = 0x67452301; in PHP_MD5Init()
271 context->state[1] = 0xefcdab89; in PHP_MD5Init()
272 context->state[2] = 0x98badcfe; in PHP_MD5Init()
273 context->state[3] = 0x10325476; in PHP_MD5Init()
303 MD5Transform(context->state, context->buffer); in PHP_MD5Update()
306 MD5Transform(context->state, &input[i]); in PHP_MD5Update()
341 Encode(digest, context->state, 16); in PHP_MD5Final()
352 static void MD5Transform(state, block) in MD5Transform() argument
353 uint32_t state[4]; in MD5Transform()
356 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16];
432 state[0] += a;
433 state[1] += b;
434 state[2] += c;
435 state[3] += d;
456 static void MD4Transform(uint32_t state[4], const unsigned char block[64]) in MD4Transform()
458 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform()
516 state[0] += a; in MD4Transform()
517 state[1] += b; in MD4Transform()
518 state[2] += c; in MD4Transform()
519 state[3] += d; in MD4Transform()
530 context->state[0] = 0x67452301; in PHP_MD4Init()
531 context->state[1] = 0xefcdab89; in PHP_MD4Init()
532 context->state[2] = 0x98badcfe; in PHP_MD4Init()
533 context->state[3] = 0x10325476; in PHP_MD4Init()
561 MD4Transform(context->state, context->buffer); in PHP_MD4Update()
564 MD4Transform(context->state, &input[i]); in PHP_MD4Update()
599 Encode(digest, context->state, 16); in PHP_MD4Final()
637 context->state[16+i] = block[i]; in MD2_Transform()
638 context->state[32+i] = (context->state[16+i] ^ context->state[i]); in MD2_Transform()
643 t = context->state[j] = context->state[j] ^ MD2_S[t]; in MD2_Transform()
692 memcpy(output, context->state, 16); in PHP_MD2Final()