Lines Matching refs:php_hash_uint32

146 static const php_hash_uint32 K_values[5]  = { 0x00000000, 0x5A827999, 0x6ED9EBA1, 0x8F1BBCDC, 0xA95…
147 static const php_hash_uint32 KK_values[4] = { 0x50A28BE6, 0x5C4DD124, 0x6D703EF3, 0x00000000 }; …
148 static const php_hash_uint32 KK160_values[5] = { 0x50A28BE6, 0x5C4DD124, 0x6D703EF3, 0x7A6D76E9, 0x…
190 static void RIPEMDDecode(php_hash_uint32 *output, const unsigned char *input, unsigned int len) in RIPEMDDecode()
195 output[i] = ((php_hash_uint32) input[j + 0]) | (((php_hash_uint32) input[j + 1]) << 8) | in RIPEMDDecode()
196 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); in RIPEMDDecode()
203 static void RIPEMD128Transform(php_hash_uint32 state[4], const unsigned char block[64]) in RIPEMD128Transform()
205 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; in RIPEMD128Transform()
206 php_hash_uint32 aa = state[0], bb = state[1], cc = state[2], dd = state[3]; in RIPEMD128Transform()
207 php_hash_uint32 tmp, x[16]; in RIPEMD128Transform()
264 if ((context->count[0] += ((php_hash_uint32) inputLen << 3)) < ((php_hash_uint32) inputLen << 3)) { in PHP_RIPEMD128Update()
267 context->count[1] += ((php_hash_uint32) inputLen >> 29); in PHP_RIPEMD128Update()
294 static void RIPEMD256Transform(php_hash_uint32 state[8], const unsigned char block[64]) in RIPEMD256Transform()
296 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; in RIPEMD256Transform()
297 php_hash_uint32 aa = state[4], bb = state[5], cc = state[6], dd = state[7]; in RIPEMD256Transform()
298 php_hash_uint32 tmp, x[16]; in RIPEMD256Transform()
362 if ((context->count[0] += ((php_hash_uint32) inputLen << 3)) < ((php_hash_uint32) inputLen << 3)) { in PHP_RIPEMD256Update()
365 context->count[1] += ((php_hash_uint32) inputLen >> 29); in PHP_RIPEMD256Update()
392 static void RIPEMD160Transform(php_hash_uint32 state[5], const unsigned char block[64]) in RIPEMD160Transform()
394 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; in RIPEMD160Transform()
395 php_hash_uint32 aa = state[0], bb = state[1], cc = state[2], dd = state[3], ee = state[4]; in RIPEMD160Transform()
396 php_hash_uint32 tmp, x[16]; in RIPEMD160Transform()
461 if ((context->count[0] += ((php_hash_uint32) inputLen << 3)) < ((php_hash_uint32) inputLen << 3)) { in PHP_RIPEMD160Update()
464 context->count[1] += ((php_hash_uint32) inputLen >> 29); in PHP_RIPEMD160Update()
491 static void RIPEMD320Transform(php_hash_uint32 state[10], const unsigned char block[64]) in RIPEMD320Transform()
493 php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; in RIPEMD320Transform()
494 php_hash_uint32 aa = state[5], bb = state[6], cc = state[7], dd = state[8], ee = state[9]; in RIPEMD320Transform()
495 php_hash_uint32 tmp, x[16]; in RIPEMD320Transform()
569 if ((context->count[0] += ((php_hash_uint32) inputLen << 3)) < ((php_hash_uint32) inputLen << 3)) { in PHP_RIPEMD320Update()
572 context->count[1] += ((php_hash_uint32) inputLen >> 29); in PHP_RIPEMD320Update()
607 static void RIPEMDEncode(unsigned char *output, php_hash_uint32 *input, unsigned int len) in RIPEMDEncode()