Lines Matching refs:y
39 static inline unsigned char idx(unsigned char x, unsigned char y) { in idx() argument
40 return x + (5 * y); in idx()
67 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y)) argument
68 # define writeLane(x, y, v) store64(ctx->state+sizeof(uint64_t)*idx(x, y), v) argument
69 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v) argument
71 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)]) argument
72 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v) argument
73 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v) argument
97 unsigned char x, y; in permute() local
104 for (y = 0; y < 5; ++y) { in permute()
105 XORLane(x, y, D); in permute()
111 unsigned char x = 1, y = 0, t; in permute() local
112 uint64_t current = readLane(x, y); in permute()
115 unsigned char Y = (2*x + 3*y) % 5; in permute()
117 x = y; in permute()
118 y = Y; in permute()
119 temp = readLane(x, y); in permute()
120 writeLane(x, y, rol64(current, r)); in permute()
126 unsigned char x, y; in permute() local
127 for (y = 0; y < 5; ++y) { in permute()
130 temp[x] = readLane(x, y); in permute()
133 writeLane(x, y, temp[x] ^((~temp[(x+1)%5]) & temp[(x+2)%5])); in permute()