Lines Matching refs:y
37 static inline unsigned char idx(unsigned char x, unsigned char y) { in idx() argument
38 return x + (5 * y); in idx()
65 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y)) argument
66 # define writeLane(x, y, v) store64(ctx->state+sizeof(uint64_t)*idx(x, y), v) argument
67 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v) argument
69 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)]) argument
70 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v) argument
71 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v) argument
95 unsigned char x, y; in permute() local
102 for (y = 0; y < 5; ++y) { in permute()
103 XORLane(x, y, D); in permute()
109 unsigned char x = 1, y = 0, t; in permute() local
110 uint64_t current = readLane(x, y); in permute()
113 unsigned char Y = (2*x + 3*y) % 5; in permute()
115 x = y; in permute()
116 y = Y; in permute()
117 temp = readLane(x, y); in permute()
118 writeLane(x, y, rol64(current, r)); in permute()
124 unsigned char x, y; in permute() local
125 for (y = 0; y < 5; ++y) { in permute()
128 temp[x] = readLane(x, y); in permute()
131 writeLane(x, y, temp[x] ^((~temp[(x+1)%5]) & temp[(x+2)%5])); in permute()