Lines Matching refs:hash
54 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument
58 a = hash[0]; in md4_transform()
59 b = hash[1]; in md4_transform()
60 c = hash[2]; in md4_transform()
61 d = hash[3]; in md4_transform()
114 hash[0] += a; in md4_transform()
115 hash[1] += b; in md4_transform()
116 hash[2] += c; in md4_transform()
117 hash[3] += d; in md4_transform()
123 md4_transform(ctx->hash, ctx->block); in md4_transform_helper()
129 mctx->hash[0] = 0x67452301; in cifs_md4_init()
130 mctx->hash[1] = 0xefcdab89; in cifs_md4_init()
131 mctx->hash[2] = 0x98badcfe; in cifs_md4_init()
132 mctx->hash[3] = 0x10325476; in cifs_md4_init()
190 md4_transform(mctx->hash, mctx->block); in cifs_md4_final()
191 cpu_to_le32_array(mctx->hash, ARRAY_SIZE(mctx->hash)); in cifs_md4_final()
192 memcpy(out, mctx->hash, sizeof(mctx->hash)); in cifs_md4_final()