Lines Matching refs:w
57 #define X(w, u, v) \ argument
58 w[0] = u[0] ^ v[0]; \
59 w[1] = u[1] ^ v[1]; \
60 w[2] = u[2] ^ v[2]; \
61 w[3] = u[3] ^ v[3]; \
62 w[4] = u[4] ^ v[4]; \
63 w[5] = u[5] ^ v[5]; \
64 w[6] = u[6] ^ v[6]; \
65 w[7] = u[7] ^ v[7];
67 #define P(key, w) \ argument
68 key[0] = (w[0] & 0x000000ff) | ((w[2] & 0x000000ff) << 8) | \
69 ((w[4] & 0x000000ff) << 16) | ((w[6] & 0x000000ff) << 24); \
70 key[1] = ((w[0] & 0x0000ff00) >> 8) | (w[2] & 0x0000ff00) | \
71 ((w[4] & 0x0000ff00) << 8) | ((w[6] & 0x0000ff00) << 16); \
72 key[2] = ((w[0] & 0x00ff0000) >> 16) | ((w[2] & 0x00ff0000) >> 8) | \
73 (w[4] & 0x00ff0000) | ((w[6] & 0x00ff0000) << 8); \
74 key[3] = ((w[0] & 0xff000000) >> 24) | ((w[2] & 0xff000000) >> 16) | \
75 ((w[4] & 0xff000000) >> 8) | (w[6] & 0xff000000); \
76 key[4] = (w[1] & 0x000000ff) | ((w[3] & 0x000000ff) << 8) | \
77 ((w[5] & 0x000000ff) << 16) | ((w[7] & 0x000000ff) << 24); \
78 key[5] = ((w[1] & 0x0000ff00) >> 8) | (w[3] & 0x0000ff00) | \
79 ((w[5] & 0x0000ff00) << 8) | ((w[7] & 0x0000ff00) << 16); \
80 key[6] = ((w[1] & 0x00ff0000) >> 16) | ((w[3] & 0x00ff0000) >> 8) | \
81 (w[5] & 0x00ff0000) | ((w[7] & 0x00ff0000) << 8); \
82 key[7] = ((w[1] & 0xff000000) >> 24) | ((w[3] & 0xff000000) >> 16) | \
83 ((w[5] & 0xff000000) >> 8) | (w[7] & 0xff000000);
194 X(w, u, v); \
195 P(key, w); \
209 uint32_t l, r, t, key[8], u[8], v[8], w[8], s[8], *h = context->state, *m = data; in Gost() local