Lines Matching refs:bufferBits
280 int bufferBits = context->buffer.bits; in PHP_WHIRLPOOLUpdate() local
309 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
310 if (bufferBits == DIGESTBITS) { in PHP_WHIRLPOOLUpdate()
318 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
321 bufferBits += bufferRem; in PHP_WHIRLPOOLUpdate()
345 bufferBits += (int) sourceBits; in PHP_WHIRLPOOLUpdate()
351 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
356 if (bufferBits == DIGESTBITS) { in PHP_WHIRLPOOLUpdate()
364 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
367 bufferBits += (int)sourceBits; in PHP_WHIRLPOOLUpdate()
369 context->buffer.bits = bufferBits; in PHP_WHIRLPOOLUpdate()
378 int bufferBits = context->buffer.bits; in PHP_WHIRLPOOLFinal() local
384 buffer[bufferPos] |= 0x80U >> (bufferBits & 7); in PHP_WHIRLPOOLFinal()