Lines Matching refs:php_hash_uint64
706 static const php_hash_uint64 SHA512_K[128] = {
732 static void SHAEncode64(unsigned char *output, php_hash_uint64 *input, unsigned int len) in SHAEncode64()
754 static void SHADecode64(php_hash_uint64 *output, const unsigned char *input, unsigned int len) in SHADecode64()
760 ((php_hash_uint64) input[j + 7]) | (((php_hash_uint64) input[j + 6]) << 8) | in SHADecode64()
761 (((php_hash_uint64) input[j + 5]) << 16) | (((php_hash_uint64) input[j + 4]) << 24) | in SHADecode64()
762 (((php_hash_uint64) input[j + 3]) << 32) | (((php_hash_uint64) input[j + 2]) << 40) | in SHADecode64()
763 (((php_hash_uint64) input[j + 1]) << 48) | (((php_hash_uint64) input[j]) << 56); in SHADecode64()
790 static void SHA512Transform(php_hash_uint64 state[8], const unsigned char block[128]) in SHA512Transform()
792 php_hash_uint64 a = state[0], b = state[1], c = state[2], d = state[3]; in SHA512Transform()
793 php_hash_uint64 e = state[4], f = state[5], g = state[6], h = state[7]; in SHA512Transform()
794 php_hash_uint64 x[16], T1, T2, W[80]; in SHA512Transform()
841 if ((context->count[0] += ((php_hash_uint64) inputLen << 3)) < ((php_hash_uint64) inputLen << 3)) { in PHP_SHA384Update()
844 context->count[1] += ((php_hash_uint64) inputLen >> 61); in PHP_SHA384Update()
955 if ((context->count[0] += ((php_hash_uint64) inputLen << 3)) < ((php_hash_uint64) inputLen << 3)) { in PHP_SHA512Update()
958 context->count[1] += ((php_hash_uint64) inputLen >> 61); in PHP_SHA512Update()