Lines Matching refs:block
122 le32_to_cpu_array(ctx->block, ARRAY_SIZE(ctx->block)); in md4_transform_helper()
123 md4_transform(ctx->hash, ctx->block); in md4_transform_helper()
141 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in cifs_md4_update()
146 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in cifs_md4_update()
151 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in cifs_md4_update()
158 while (len >= sizeof(mctx->block)) { in cifs_md4_update()
159 memcpy(mctx->block, data, sizeof(mctx->block)); in cifs_md4_update()
161 data += sizeof(mctx->block); in cifs_md4_update()
162 len -= sizeof(mctx->block); in cifs_md4_update()
165 memcpy(mctx->block, data, len); in cifs_md4_update()
174 char *p = (char *)mctx->block + offset; in cifs_md4_final()
181 p = (char *)mctx->block; in cifs_md4_final()
186 mctx->block[14] = mctx->byte_count << 3; in cifs_md4_final()
187 mctx->block[15] = mctx->byte_count >> 29; in cifs_md4_final()
188 le32_to_cpu_array(mctx->block, (sizeof(mctx->block) - in cifs_md4_final()
190 md4_transform(mctx->hash, mctx->block); in cifs_md4_final()