Home
last modified time | relevance | path

Searched refs:x4 (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dseed.c333 u32 i, t0, t1, x1, x2, x3, x4; in seed_set_key() local
338 x4 = be32_to_cpu(key[3]); in seed_set_key()
342 t1 = x2 + KC[i] - x4; in seed_set_key()
354 x3 = (x3 << 8) ^ (x4 >> 24); in seed_set_key()
355 x4 = (x4 << 8) ^ (t0 >> 24); in seed_set_key()
369 u32 x1, x2, x3, x4, t0, t1; in seed_encrypt() local
375 x4 = be32_to_cpu(src[3]); 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 …]
Dserpent_generic.c46 #define LK(x0, x1, x2, x3, x4, i) ({ \ argument
48 x2 = rol32(x2, 3); x1 ^= x0; x4 = x0 << 3; \
50 x1 = rol32(x1, 1); x3 ^= x4; \
51 x3 = rol32(x3, 7); x4 = x1; \
52 x0 ^= x1; x4 <<= 7; x2 ^= x3; \
53 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \
58 #define KL(x0, x1, x2, x3, x4, i) ({ \ argument
61 x4 = x1; x2 ^= x3; x0 ^= x3; \
62 x4 <<= 7; x0 ^= x1; x1 = ror32(x1, 1); \
63 x2 ^= x4; x3 = ror32(x3, 7); x4 = x0 << 3; \
[all …]