Searched refs:bufferBits (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/crypto/
H A Dwp512.c41 int bufferBits; member in struct:wp512_ctx
994 wctx->bufferBits = wctx->bufferPos = 0; wp512_init()
1010 int bufferRem = wctx->bufferBits & 7; wp512_update()
1015 int bufferBits = wctx->bufferBits; wp512_update() local
1029 bufferBits += 8 - bufferRem; wp512_update()
1030 if (bufferBits == WP512_BLOCK_SIZE * 8) { wp512_update()
1032 bufferBits = bufferPos = 0; wp512_update()
1035 bufferBits += bufferRem; wp512_update()
1046 bufferBits += bits_len; wp512_update()
1049 bufferBits += 8 - bufferRem; wp512_update()
1051 if (bufferBits == WP512_BLOCK_SIZE * 8) { wp512_update()
1053 bufferBits = bufferPos = 0; wp512_update()
1056 bufferBits += (int)bits_len; wp512_update()
1059 wctx->bufferBits = bufferBits; wp512_update()
1071 int bufferBits = wctx->bufferBits; wp512_final() local
1075 buffer[bufferPos] |= 0x80U >> (bufferBits & 7); wp512_final()
1094 wctx->bufferBits = bufferBits; wp512_final()

Completed in 52 milliseconds