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