Searched refs:x3 (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | seed.c | 333 u32 i, t0, t1, x1, x2, x3, x4; in seed_set_key() local 337 x3 = be32_to_cpu(key[2]); in seed_set_key() 341 t0 = x1 + x3 - KC[i]; in seed_set_key() 353 t0 = x3; in seed_set_key() 354 x3 = (x3 << 8) ^ (x4 >> 24); in seed_set_key() 369 u32 x1, x2, x3, x4, t0, t1; in seed_encrypt() local 374 x3 = be32_to_cpu(src[2]); in seed_encrypt() 377 OP(x1, x2, x3, x4, 0); in seed_encrypt() 378 OP(x3, x4, x1, x2, 2); in seed_encrypt() 379 OP(x1, x2, x3, x4, 4); in seed_encrypt() [all …]
|
D | serpent_generic.c | 32 #define loadkeys(x0, x1, x2, x3, i) \ argument 33 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; }) 35 #define storekeys(x0, x1, x2, x3, i) \ argument 36 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; }) 38 #define store_and_load_keys(x0, x1, x2, x3, s, l) \ argument 39 ({ storekeys(x0, x1, x2, x3, s); loadkeys(x0, x1, x2, x3, l); }) 41 #define K(x0, x1, x2, x3, i) ({ \ argument 42 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \ 46 #define LK(x0, x1, x2, x3, x4, i) ({ \ argument 49 x3 ^= x2; x1 ^= x2; \ [all …]
|