Lines Matching defs:cbBuf
179 RTDECL(void) RTMd2Update(PRTMD2CONTEXT pCtx, const void *pvBuf, size_t cbBuf)
190 if (cbBuf >= cbMissing)
194 cbBuf -= cbMissing;
203 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], pbBuf, cbBuf);
204 pCtx->AltPrivate.cbBuffer += (uint8_t)cbBuf;
212 while (cbBuf >= RTMD2_BLOCK_SIZE)
218 cbBuf -= RTMD2_BLOCK_SIZE;
224 if (cbBuf > 0)
226 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF], pbBuf, cbBuf);
227 pCtx->AltPrivate.cbBuffer = (uint8_t)cbBuf;
264 RTDECL(void) RTMd2(const void *pvBuf, size_t cbBuf, uint8_t pabDigest[RTMD2_HASH_SIZE])
268 RTMd2Update(&Ctx, pvBuf, cbBuf);