Lines Matching refs:u
61 #define X(w, u, v) \ argument
62 w[0] = u[0] ^ v[0]; \
63 w[1] = u[1] ^ v[1]; \
64 w[2] = u[2] ^ v[2]; \
65 w[3] = u[3] ^ v[3]; \
66 w[4] = u[4] ^ v[4]; \
67 w[5] = u[5] ^ v[5]; \
68 w[6] = u[6] ^ v[6]; \
69 w[7] = u[7] ^ v[7];
129 #define SHIFT12(u, m, s) \ argument
130 u[0] = m[0] ^ s[6]; \
131 u[1] = m[1] ^ s[7]; \
132 u[2] = m[2] ^ (s[0] << 16) ^ (s[0] >> 16) ^ (s[0] & 0xffff) ^ \
135 u[3] = m[3] ^ (s[0] & 0xffff) ^ (s[0] << 16) ^ (s[1] & 0xffff) ^ \
139 u[4] = m[4] ^ \
144 u[5] = m[5] ^ (s[0] << 16) ^ (s[0] >> 16) ^ (s[0] & 0xffff0000) ^ \
148 u[6] = m[6] ^ s[0] ^ (s[1] >> 16) ^ (s[2] << 16) ^ s[3] ^ (s[3] >> 16) ^ \
151 u[7] = m[7] ^ (s[0] & 0xffff0000) ^ (s[0] << 16) ^ (s[1] & 0xffff) ^ \
156 #define SHIFT16(h, v, u) \ argument
157 v[0] = h[0] ^ (u[1] << 16) ^ (u[0] >> 16); \
158 v[1] = h[1] ^ (u[2] << 16) ^ (u[1] >> 16); \
159 v[2] = h[2] ^ (u[3] << 16) ^ (u[2] >> 16); \
160 v[3] = h[3] ^ (u[4] << 16) ^ (u[3] >> 16); \
161 v[4] = h[4] ^ (u[5] << 16) ^ (u[4] >> 16); \
162 v[5] = h[5] ^ (u[6] << 16) ^ (u[5] >> 16); \
163 v[6] = h[6] ^ (u[7] << 16) ^ (u[6] >> 16); \
164 v[7] = h[7] ^ (u[0] & 0xffff0000) ^ (u[0] << 16) ^ (u[7] >> 16) ^ \
165 (u[1] & 0xffff0000) ^ (u[1] << 16) ^ (u[6] << 16) ^ (u[7] & 0xffff0000);
198 X(w, u, v); \
203 A(u, l, r); \
205 C(u); \
213 php_hash_uint32 l, r, t, key[8], u[8], v[8], w[8], s[8], *h = context->state, *m = data; in Gost() local
215 memcpy(u, context->state, sizeof(u)); in Gost()
221 SHIFT12(u, m, s); in Gost()
222 SHIFT16(h, v, u); in Gost()