Lines Matching defs:in
21 * Keyed 32-bit hash function using TEA in a Davis-Meyer function
33 static void TEA_transform(__u32 buf[4], __u32 const in[])
37 __u32 a = in[0], b = in[1], c = in[2], d = in[3];
58 * good macro practice, in favor of extra legibility.
70 static void halfMD4Transform (__u32 buf[4], __u32 const in[])
75 ROUND(F, a, b, c, d, in[0] + K1, 3);
76 ROUND(F, d, a, b, c, in[1] + K1, 7);
77 ROUND(F, c, d, a, b, in[2] + K1, 11);
78 ROUND(F, b, c, d, a, in[3] + K1, 19);
79 ROUND(F, a, b, c, d, in[4] + K1, 3);
80 ROUND(F, d, a, b, c, in[5] + K1, 7);
81 ROUND(F, c, d, a, b, in[6] + K1, 11);
82 ROUND(F, b, c, d, a, in[7] + K1, 19);
85 ROUND(G, a, b, c, d, in[1] + K2, 3);
86 ROUND(G, d, a, b, c, in[3] + K2, 5);
87 ROUND(G, c, d, a, b, in[5] + K2, 9);
88 ROUND(G, b, c, d, a, in[7] + K2, 13);
89 ROUND(G, a, b, c, d, in[0] + K2, 3);
90 ROUND(G, d, a, b, c, in[2] + K2, 5);
91 ROUND(G, c, d, a, b, in[4] + K2, 9);
92 ROUND(G, b, c, d, a, in[6] + K2, 13);
95 ROUND(H, a, b, c, d, in[3] + K3, 3);
96 ROUND(H, d, a, b, c, in[7] + K3, 9);
97 ROUND(H, c, d, a, b, in[2] + K3, 11);
98 ROUND(H, b, c, d, a, in[6] + K3, 15);
99 ROUND(H, a, b, c, d, in[1] + K3, 3);
100 ROUND(H, d, a, b, c, in[5] + K3, 9);
101 ROUND(H, c, d, a, b, in[0] + K3, 11);
102 ROUND(H, b, c, d, a, in[4] + K3, 15);
198 __u32 in[8], buf[4];
228 str2hashbuf(p, len, in, 8, unsigned_flag);
229 halfMD4Transform(buf, in);
241 str2hashbuf(p, len, in, 4, unsigned_flag);
242 TEA_transform(buf, in);