Home
last modified time | relevance | path

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

/PHP-5.4/ext/hash/
H A Dhash_whirlpool.c280 int bufferRem = context->buffer.bits & 7; /* occupied bits on buffer[bufferPos]. */ in PHP_WHIRLPOOLUpdate() local
312 buffer[bufferPos++] |= (unsigned char)(b >> bufferRem); in PHP_WHIRLPOOLUpdate()
313 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
324 buffer[bufferPos] = (unsigned char) (b << (8 - bufferRem)); in PHP_WHIRLPOOLUpdate()
325 bufferBits += bufferRem; in PHP_WHIRLPOOLUpdate()
340 buffer[bufferPos] |= b >> bufferRem; in PHP_WHIRLPOOLUpdate()
344 if (bufferRem + sourceBits < 8) { in PHP_WHIRLPOOLUpdate()
355 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
356 sourceBits -= 8 - bufferRem; in PHP_WHIRLPOOLUpdate()
370 buffer[bufferPos] = (unsigned char) (b << (8 - bufferRem)); in PHP_WHIRLPOOLUpdate()

Completed in 5 milliseconds