Lines Matching refs:bufferBits
284 int bufferBits = context->buffer.bits; in PHP_WHIRLPOOLUpdate() local
313 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
314 if (bufferBits == DIGESTBITS) { in PHP_WHIRLPOOLUpdate()
322 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
325 bufferBits += bufferRem; in PHP_WHIRLPOOLUpdate()
349 bufferBits += (int) sourceBits; in PHP_WHIRLPOOLUpdate()
355 bufferBits += 8 - bufferRem; /* bufferBits = 8*bufferPos; */ in PHP_WHIRLPOOLUpdate()
360 if (bufferBits == DIGESTBITS) { in PHP_WHIRLPOOLUpdate()
368 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
371 bufferBits += (int)sourceBits; in PHP_WHIRLPOOLUpdate()
373 context->buffer.bits = bufferBits; in PHP_WHIRLPOOLUpdate()
382 int bufferBits = context->buffer.bits; in PHP_WHIRLPOOLFinal() local
388 buffer[bufferPos] |= 0x80U >> (bufferBits & 7); in PHP_WHIRLPOOLFinal()