Lines Matching refs:block
38 u32 block[MD4_BLOCK_WORDS]; member
152 le32_to_cpu_array(ctx->block, ARRAY_SIZE(ctx->block)); in md4_transform_helper()
153 md4_transform(ctx->hash, ctx->block); in md4_transform_helper()
172 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()
177 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in md4_update()
182 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in md4_update()
189 while (len >= sizeof(mctx->block)) { in md4_update()
190 memcpy(mctx->block, data, sizeof(mctx->block)); in md4_update()
192 data += sizeof(mctx->block); in md4_update()
193 len -= sizeof(mctx->block); in md4_update()
196 memcpy(mctx->block, data, len); in md4_update()
205 char *p = (char *)mctx->block + offset; in md4_final()
212 p = (char *)mctx->block; in md4_final()
217 mctx->block[14] = mctx->byte_count << 3; in md4_final()
218 mctx->block[15] = mctx->byte_count >> 29; in md4_final()
219 le32_to_cpu_array(mctx->block, (sizeof(mctx->block) - in md4_final()
221 md4_transform(mctx->hash, mctx->block); in md4_final()