Lines Matching refs:buffer
23 __le32 buffer[16]; member
292 memset(rctx->buffer, 0, sizeof(rctx->buffer)); in rmd320_init()
301 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd320_update()
307 memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), in rmd320_update()
312 memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), in rmd320_update()
315 rmd320_transform(rctx->state, rctx->buffer); in rmd320_update()
319 while (len >= sizeof(rctx->buffer)) { in rmd320_update()
320 memcpy(rctx->buffer, data, sizeof(rctx->buffer)); in rmd320_update()
321 rmd320_transform(rctx->state, rctx->buffer); in rmd320_update()
322 data += sizeof(rctx->buffer); in rmd320_update()
323 len -= sizeof(rctx->buffer); in rmd320_update()
326 memcpy(rctx->buffer, data, len); in rmd320_update()