Lines Matching defs:cbBuffer
53 uint8_t cbBuffer;
92 pCtx->AltPrivate.cbBuffer = 0;
181 Assert(pCtx->AltPrivate.cbBuffer < RTMD2_BLOCK_SIZE);
187 if (pCtx->AltPrivate.cbBuffer)
189 uint8_t cbMissing = RTMD2_BLOCK_SIZE - pCtx->AltPrivate.cbBuffer;
192 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], pbBuf, cbMissing);
199 pCtx->AltPrivate.cbBuffer = 0;
203 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], pbBuf, cbBuf);
204 pCtx->AltPrivate.cbBuffer += (uint8_t)cbBuf;
227 pCtx->AltPrivate.cbBuffer = (uint8_t)cbBuf;
235 Assert(pCtx->AltPrivate.cbBuffer < RTMD2_BLOCK_SIZE);
241 unsigned cbPad = RTMD2_BLOCK_SIZE - pCtx->AltPrivate.cbBuffer;
242 memset(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], cbPad, cbPad);
245 pCtx->AltPrivate.cbBuffer = 0;
259 pCtx->AltPrivate.cbBuffer = UINT8_MAX;