Home
last modified time | relevance | path

Searched refs:x3 (Results 1 – 3 of 3) sorted by relevance

/crypto/
A Dseed.c340 t0 = x1 + x3 - KC[i]; in seed_set_key()
352 t0 = x3; in seed_set_key()
353 x3 = (x3 << 8) ^ (x4 >> 24); in seed_set_key()
374 OP(x1, x2, x3, x4, 0); in seed_encrypt()
375 OP(x3, x4, x1, x2, 2); in seed_encrypt()
376 OP(x1, x2, x3, x4, 4); in seed_encrypt()
377 OP(x3, x4, x1, x2, 6); in seed_encrypt()
378 OP(x1, x2, x3, x4, 8); in seed_encrypt()
421 OP(x3, x4, x1, x2, 8); in seed_decrypt()
422 OP(x1, x2, x3, x4, 6); in seed_decrypt()
[all …]
A Dserpent_generic.c75 x1 ^= x0; x0 ^= x3; x3 = ~x3; \
77 x0 ^= x3; x1 ^= x3; x3 ^= x4; \
84 x3 = ~x3; \
86 x0 ^= x3; x3 |= x4; x2 ^= x1; \
88 x2 &= x3; x3 |= x1; x0 = ~x0; \
95 x1 ^= x3; x3 |= x0; x4 &= x0; \
100 x4 ^= x3; x0 ^= x3; x3 ^= x2; \
150 x2 ^= x3; x1 ^= x3; x3 &= x0; \
165 x2 ^= x1; x4 = x3; x3 = ~x3; \
188 x0 ^= x3; x3 &= x2; \
[all …]
A Dsm4.c104 static inline u32 sm4_round(u32 x0, u32 x1, u32 x2, u32 x3, u32 rk) in sm4_round() argument
106 return x0 ^ sm4_enc_sub(x1 ^ x2 ^ x3 ^ rk); in sm4_round()

Completed in 8 milliseconds