Home
last modified time | relevance | path

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

/PHP-5.3/ext/hash/
H A Dhash_whirlpool.c277 php_hash_uint64 sourceBits = len * 8; in PHP_WHIRLPOOLUpdate() local
279 int sourceGap = (8 - ((int)sourceBits & 7)) & 7; /* space on source[sourcePos]. */ in PHP_WHIRLPOOLUpdate()
292 php_hash_uint64 value = sourceBits; in PHP_WHIRLPOOLUpdate()
302 while (sourceBits > 8) { in PHP_WHIRLPOOLUpdate()
329 sourceBits -= 8; in PHP_WHIRLPOOLUpdate()
335 if (sourceBits > 0) { in PHP_WHIRLPOOLUpdate()
344 if (bufferRem + sourceBits < 8) { in PHP_WHIRLPOOLUpdate()
349 bufferBits += (int) sourceBits; in PHP_WHIRLPOOLUpdate()
356 sourceBits -= 8 - bufferRem; in PHP_WHIRLPOOLUpdate()
371 bufferBits += (int)sourceBits; in PHP_WHIRLPOOLUpdate()

Completed in 7 milliseconds