Home
last modified time | relevance | path

Searched refs:php_hash_uint64 (Results 1 – 9 of 9) sorted by relevance

/PHP-5.3/ext/hash/
H A Dphp_hash_sha.h77 php_hash_uint64 state[8]; /* state */
78 php_hash_uint64 count[2]; /* number of bits, modulo 2^128 */
88 php_hash_uint64 state[8]; /* state */
89 php_hash_uint64 count[2]; /* number of bits, modulo 2^128 */
H A Dphp_hash_types.h35 typedef unsigned long php_hash_uint64; typedef
45 typedef unsigned long long php_hash_uint64; typedef
58 typedef unsigned __int64 php_hash_uint64; typedef
H A Dhash_whirlpool.c44 php_hash_uint64 K[8]; /* the round key */ in WhirlpoolTransform()
45 php_hash_uint64 block[8]; /* mu(buffer) */ in WhirlpoolTransform()
46 php_hash_uint64 state[8]; /* the cipher state */ in WhirlpoolTransform()
47 php_hash_uint64 L[8]; in WhirlpoolTransform()
55 (((php_hash_uint64)buffer[0] ) << 56) ^ in WhirlpoolTransform()
56 (((php_hash_uint64)buffer[1] & 0xffL) << 48) ^ in WhirlpoolTransform()
57 (((php_hash_uint64)buffer[2] & 0xffL) << 40) ^ in WhirlpoolTransform()
58 (((php_hash_uint64)buffer[3] & 0xffL) << 32) ^ in WhirlpoolTransform()
62 (((php_hash_uint64)buffer[7] & 0xffL) ); in WhirlpoolTransform()
277 php_hash_uint64 sourceBits = len * 8; in PHP_WHIRLPOOLUpdate()
[all …]
H A Dphp_hash_tiger.h26 php_hash_uint64 state[3];
27 php_hash_uint64 passed;
H A Dhash_tiger.c108 php_hash_uint64 tmp[8]; \
121 register php_hash_uint64 a, b, c, tmpa, x0, x1, x2, x3, x4, x5, x6, x7; \
122 php_hash_uint64 aa, bb, cc; \
141 context->passed += (php_hash_uint64) context->length << 3; in TigerFinalize()
151 tiger_compress(context->passes, ((php_hash_uint64 *) context->buffer), context->state); in TigerFinalize()
158 memcpy(&context->buffer[56], &context->passed, sizeof(php_hash_uint64)); in TigerFinalize()
169 tiger_compress(context->passes, ((php_hash_uint64 *) context->buffer), context->state); in TigerFinalize()
200 tiger_compress(context->passes, ((const php_hash_uint64 *) context->buffer), context->state); in PHP_TIGERUpdate()
207 tiger_compress(context->passes, ((const php_hash_uint64 *) context->buffer), context->state); in PHP_TIGERUpdate()
H A Dhash_sha.c706 static const php_hash_uint64 SHA512_K[128] = {
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()
792 php_hash_uint64 a = state[0], b = state[1], c = state[2], d = state[3]; 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()
[all …]
H A Dphp_hash_whirlpool.h26 php_hash_uint64 state[8];
H A Dphp_hash_whirlpool_tables.h26 static const php_hash_uint64 rc[R + 1] = {
40 static const php_hash_uint64 C0[256] = {
107 static const php_hash_uint64 C1[256] = {
174 static const php_hash_uint64 C2[256] = {
241 static const php_hash_uint64 C3[256] = {
308 static const php_hash_uint64 C4[256] = {
375 static const php_hash_uint64 C5[256] = {
442 static const php_hash_uint64 C6[256] = {
509 static const php_hash_uint64 C7[256] = {
H A Dphp_hash_tiger_tables.h27 static const php_hash_uint64 table[4*256] = {

Completed in 24 milliseconds