Home
last modified time | relevance | path

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

/PHP-8.2/ext/hash/
H A Dhash_whirlpool.c273 uint64_t sourceBits = len * 8; in PHP_WHIRLPOOLUpdate() local
275 int sourceGap = (8 - ((int)sourceBits & 7)) & 7; /* space on source[sourcePos]. */ in PHP_WHIRLPOOLUpdate()
288 uint64_t value = sourceBits; in PHP_WHIRLPOOLUpdate()
298 while (sourceBits > 8) { in PHP_WHIRLPOOLUpdate()
325 sourceBits -= 8; in PHP_WHIRLPOOLUpdate()
331 if (sourceBits > 0) { in PHP_WHIRLPOOLUpdate()
340 if (bufferRem + sourceBits < 8) { in PHP_WHIRLPOOLUpdate()
345 bufferBits += (int) sourceBits; in PHP_WHIRLPOOLUpdate()
352 sourceBits -= 8 - bufferRem; in PHP_WHIRLPOOLUpdate()
367 bufferBits += (int)sourceBits; in PHP_WHIRLPOOLUpdate()

Completed in 11 milliseconds