Home
last modified time | relevance | path

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

/PHP-7.3/ext/hash/
H A Dhash_whirlpool.c275 uint64_t sourceBits = len * 8; in PHP_WHIRLPOOLUpdate() local
277 int sourceGap = (8 - ((int)sourceBits & 7)) & 7; /* space on source[sourcePos]. */ in PHP_WHIRLPOOLUpdate()
290 uint64_t value = sourceBits; in PHP_WHIRLPOOLUpdate()
300 while (sourceBits > 8) { in PHP_WHIRLPOOLUpdate()
327 sourceBits -= 8; in PHP_WHIRLPOOLUpdate()
333 if (sourceBits > 0) { in PHP_WHIRLPOOLUpdate()
342 if (bufferRem + sourceBits < 8) { in PHP_WHIRLPOOLUpdate()
347 bufferBits += (int) sourceBits; in PHP_WHIRLPOOLUpdate()
354 sourceBits -= 8 - bufferRem; in PHP_WHIRLPOOLUpdate()
369 bufferBits += (int)sourceBits; in PHP_WHIRLPOOLUpdate()

Completed in 6 milliseconds