Lines Matching refs:bufferBits
40 int bufferBits; member
996 wctx->bufferBits = wctx->bufferPos = 0; in wp512_init()
1010 int bufferRem = wctx->bufferBits & 7; in wp512_update()
1015 int bufferBits = wctx->bufferBits; in wp512_update() local
1029 bufferBits += 8 - bufferRem; in wp512_update()
1030 if (bufferBits == WP512_BLOCK_SIZE * 8) { in wp512_update()
1032 bufferBits = bufferPos = 0; in wp512_update()
1035 bufferBits += bufferRem; in wp512_update()
1046 bufferBits += bits_len; in wp512_update()
1049 bufferBits += 8 - bufferRem; in wp512_update()
1051 if (bufferBits == WP512_BLOCK_SIZE * 8) { in wp512_update()
1053 bufferBits = bufferPos = 0; in wp512_update()
1056 bufferBits += (int)bits_len; in wp512_update()
1059 wctx->bufferBits = bufferBits; in wp512_update()
1070 int bufferBits = wctx->bufferBits; in wp512_final() local
1074 buffer[bufferPos] |= 0x80U >> (bufferBits & 7); in wp512_final()
1102 wctx->bufferBits = bufferBits; in wp512_final()