Lines Matching refs:tables
26 #define round(tables, k1, k2) \ argument
28 l ^= tables[0][t & 0xff] ^ tables[1][(t >> 8) & 0xff] ^ \
29 tables[2][(t >> 16) & 0xff] ^ tables[3][t >> 24]; \
31 r ^= tables[0][t & 0xff] ^ tables[1][(t >> 8) & 0xff] ^ \
32 tables[2][(t >> 16) & 0xff] ^ tables[3][t >> 24];
34 #define R(tables, key, h, i, t, l, r) \ argument
37 round(tables, key[0], key[1]) \
38 round(tables, key[2], key[3]) \
39 round(tables, key[4], key[5]) \
40 round(tables, key[6], key[7]) \
41 round(tables, key[0], key[1]) \
42 round(tables, key[2], key[3]) \
43 round(tables, key[4], key[5]) \
44 round(tables, key[6], key[7]) \
45 round(tables, key[0], key[1]) \
46 round(tables, key[2], key[3]) \
47 round(tables, key[4], key[5]) \
48 round(tables, key[6], key[7]) \
49 round(tables, key[7], key[6]) \
50 round(tables, key[5], key[4]) \
51 round(tables, key[3], key[2]) \
52 round(tables, key[1], key[0]) \
193 #define PASS(tables) \ argument
196 R((tables), key, h, i, t, l, r); \
215 PASS(*context->tables); in Gost()
241 context->tables = &tables_test; in PHP_GOSTInit()
247 context->tables = &tables_crypto; in PHP_GOSTInitCrypto()