Home
last modified time | relevance | path

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

/PHP-7.2/ext/hash/
H A Dhash_whirlpool.c277 uint64_t sourceBits = len * 8; in PHP_WHIRLPOOLUpdate() local
279 int sourceGap = (8 - ((int)sourceBits & 7)) & 7; /* space on source[sourcePos]. */ in PHP_WHIRLPOOLUpdate()
292 uint64_t 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 5 milliseconds