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 48 x2 = rol32(x2, 3); x1 ^= x0; x4 = x0 << 3; \ [all …]
|