Home | History | Annotate | Download | only in etc

Lines Matching full:sbox

24 unsigned sbox(unsigned x)
45 // for (x = 0; x < 16; x++) printf("%2x ", sbox(x));
61 printf("static const ulong64 sbox%d[] = {\n", y);
64 gf_mul(sbox(x), cir[y][0]),
65 gf_mul(sbox(x), cir[y][1]),
66 gf_mul(sbox(x), cir[y][2]),
67 gf_mul(sbox(x), cir[y][3]),
68 gf_mul(sbox(x), cir[y][4]),
69 gf_mul(sbox(x), cir[y][5]),
70 gf_mul(sbox(x), cir[y][6]),
71 gf_mul(sbox(x), cir[y][7]));
82 printf("%02x", sbox((8*y + x)&255));