Lines Matching refs:hash
37 u32 hash[MD4_HASH_WORDS]; member
67 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument
71 a = hash[0]; in md4_transform()
72 b = hash[1]; in md4_transform()
73 c = hash[2]; in md4_transform()
74 d = hash[3]; in md4_transform()
127 hash[0] += a; in md4_transform()
128 hash[1] += b; in md4_transform()
129 hash[2] += c; in md4_transform()
130 hash[3] += d; in md4_transform()
136 md4_transform(ctx->hash, ctx->block); in md4_transform_helper()
143 mctx->hash[0] = 0x67452301; in md4_init()
144 mctx->hash[1] = 0xefcdab89; in md4_init()
145 mctx->hash[2] = 0x98badcfe; in md4_init()
146 mctx->hash[3] = 0x10325476; in md4_init()
204 md4_transform(mctx->hash, mctx->block); in md4_final()
205 cpu_to_le32_array(mctx->hash, ARRAY_SIZE(mctx->hash)); in md4_final()
206 memcpy(out, mctx->hash, sizeof(mctx->hash)); in md4_final()