D | serpent_generic.c | 72 #define S0(x0, x1, x2, x3, x4) ({ \ macro 246 S0(r1, r2, r0, r4, r3); store_and_load_keys(r0, r2, r4, r1, 8, 4); in __serpent_setkey_sbox() 254 S0(r0, r1, r3, r4, r2); store_and_load_keys(r3, r1, r4, r0, -24, -28); in __serpent_setkey_sbox() 263 S0(r3, r0, r2, r4, r1); store_and_load_keys(r2, r0, r4, r3, -6, -10); in __serpent_setkey_sbox() 272 S0(r2, r3, r1, r4, r0); store_and_load_keys(r1, r3, r4, r2, 12, 8); in __serpent_setkey_sbox() 474 S0(r0, r1, r2, r3, r4); LK(r2, r1, r3, r0, r4, 1); in __serpent_encrypt() 482 S0(r2, r0, r4, r3, r1); LK(r4, r0, r3, r2, r1, 9); in __serpent_encrypt() 490 S0(r4, r2, r1, r3, r0); LK(r1, r2, r3, r4, r0, 17); in __serpent_encrypt() 498 S0(r1, r4, r0, r3, r2); LK(r0, r4, r3, r1, r2, 25); in __serpent_encrypt()
|