Searched refs:bufferRem (Results 1 – 1 of 1) sorted by relevance
1010 int bufferRem = wctx->bufferBits & 7; in wp512_update() local1028 buffer[bufferPos++] |= (u8)(b >> bufferRem); in wp512_update()1029 bufferBits += 8 - bufferRem; in wp512_update()1034 buffer[bufferPos] = b << (8 - bufferRem); in wp512_update()1035 bufferBits += bufferRem; in wp512_update()1041 buffer[bufferPos] |= b >> bufferRem; in wp512_update()1045 if (bufferRem + bits_len < 8) { in wp512_update()1049 bufferBits += 8 - bufferRem; in wp512_update()1050 bits_len -= 8 - bufferRem; in wp512_update()1055 buffer[bufferPos] = b << (8 - bufferRem); in wp512_update()