Lines Matching refs:tables
30 #define round(tables, k1, k2) \ argument
32 l ^= tables[0][t & 0xff] ^ tables[1][(t >> 8) & 0xff] ^ \
33 tables[2][(t >> 16) & 0xff] ^ tables[3][t >> 24]; \
35 r ^= tables[0][t & 0xff] ^ tables[1][(t >> 8) & 0xff] ^ \
36 tables[2][(t >> 16) & 0xff] ^ tables[3][t >> 24];
38 #define R(tables, key, h, i, t, l, r) \ argument
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[0], key[1]) \
50 round(tables, key[2], key[3]) \
51 round(tables, key[4], key[5]) \
52 round(tables, key[6], key[7]) \
53 round(tables, key[7], key[6]) \
54 round(tables, key[5], key[4]) \
55 round(tables, key[3], key[2]) \
56 round(tables, key[1], key[0]) \
197 #define PASS(tables) \ argument
200 R((tables), key, h, i, t, l, r); \
219 PASS(*context->tables); in Gost()
245 context->tables = &tables_test; in PHP_GOSTInit()
251 context->tables = &tables_crypto; in PHP_GOSTInitCrypto()