Home
last modified time | relevance | path

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

/PHP-8.1/ext/hash/
H A Dhash_whirlpool.c276 int bufferRem = context->buffer.bits & 7; /* occupied bits on buffer[bufferPos]. */ in PHP_WHIRLPOOLUpdate() local
308 buffer[bufferPos++] |= (unsigned char)(b >> bufferRem); in PHP_WHIRLPOOLUpdate()
309 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
320 buffer[bufferPos] = (unsigned char) (b << (8 - bufferRem)); in PHP_WHIRLPOOLUpdate()
321 bufferBits += bufferRem; in PHP_WHIRLPOOLUpdate()
336 buffer[bufferPos] |= b >> bufferRem; in PHP_WHIRLPOOLUpdate()
340 if (bufferRem + sourceBits < 8) { in PHP_WHIRLPOOLUpdate()
351 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
352 sourceBits -= 8 - bufferRem; in PHP_WHIRLPOOLUpdate()
366 buffer[bufferPos] = (unsigned char) (b << (8 - bufferRem)); in PHP_WHIRLPOOLUpdate()

Completed in 5 milliseconds