Lines Matching refs:buffer
23 __le32 buffer[16]; member
224 memset(rctx->buffer, 0, sizeof(rctx->buffer)); in rmd128_init()
233 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd128_update()
239 memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), in rmd128_update()
244 memcpy((char *)rctx->buffer + (sizeof(rctx->buffer) - avail), in rmd128_update()
247 rmd128_transform(rctx->state, rctx->buffer); in rmd128_update()
251 while (len >= sizeof(rctx->buffer)) { in rmd128_update()
252 memcpy(rctx->buffer, data, sizeof(rctx->buffer)); in rmd128_update()
253 rmd128_transform(rctx->state, rctx->buffer); in rmd128_update()
254 data += sizeof(rctx->buffer); in rmd128_update()
255 len -= sizeof(rctx->buffer); in rmd128_update()
258 memcpy(rctx->buffer, data, len); in rmd128_update()