Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 5 of 5) sorted by relevance

/crypto/
A Dseed.c341 t1 = x2 + KC[i] - x4; in seed_set_key()
350 x2 = (x2 >> 8) ^ (t0 << 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()
423 OP(x3, x4, x1, x2, 4); in seed_decrypt()
[all …]
A Dserpent_generic.c44 x3 ^= x2; x1 ^= x2; \
60 x1 ^= x2; x3 ^= x2; x2 = ror32(x2, 3); \
68 x4 |= x0; x0 ^= x2; x2 &= x1; \
69 x3 ^= x2; x1 = ~x1; x2 ^= x4; \
78 x1 |= x4; x4 ^= x2; x2 &= x0; \
96 x0 ^= x2; x2 ^= x1; x1 &= x3; \
99 x3 ^= x2; x4 |= x1; x2 &= x1; \
106 x3 ^= x2; x2 |= x4; x0 ^= x1; \
120 x1 ^= x2; x2 &= x0; \
156 x0 ^= x2; x2 = ~x2; x4 |= x1; \
[all …]
A Decc.c1211 vli_set(x2, x1, ndigits); in xycz_initial_double()
1224 apply_z(x2, y2, z, curve); in xycz_initial_double()
1240 vli_mod_sub(t5, x2, x1, curve_prime, ndigits); in xycz_add()
1246 vli_mod_mult_fast(x2, x2, t5, curve); in xycz_add()
1257 vli_mod_sub(x2, x2, x1, curve_prime, ndigits); in xycz_add()
1259 vli_mod_mult_fast(y1, y1, x2, curve); in xycz_add()
1263 vli_mod_mult_fast(y2, y2, x2, curve); in xycz_add()
1267 vli_set(x2, t5, ndigits); in xycz_add()
1291 vli_mod_mult_fast(x2, x2, t5, curve); in xycz_add_c()
1304 vli_mod_square_fast(x2, y2, curve); in xycz_add_c()
[all …]
A Daria_generic.c226 (u8)(x2[get_u8(reg0, 1)] >> 8), in __aria_crypt()
230 (u8)(x2[get_u8(reg1, 1)] >> 8), in __aria_crypt()
234 (u8)(x2[get_u8(reg2, 1)] >> 8), in __aria_crypt()
238 (u8)(x2[get_u8(reg3, 1)] >> 8), in __aria_crypt()
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 13 milliseconds