Lines Matching refs:reg3
32 u32 reg0, reg1, reg2, reg3; in aria_set_encrypt_key() local
46 reg3 = w0[3] ^ ck[3]; in aria_set_encrypt_key()
48 aria_subst_diff_odd(®0, ®1, ®2, ®3); in aria_set_encrypt_key()
70 w1[3] ^= reg3; in aria_set_encrypt_key()
75 reg3 = w1[3]; in aria_set_encrypt_key()
80 reg3 ^= ck[7]; in aria_set_encrypt_key()
82 aria_subst_diff_even(®0, ®1, ®2, ®3); in aria_set_encrypt_key()
87 reg3 ^= w0[3]; in aria_set_encrypt_key()
92 w2[3] = reg3; in aria_set_encrypt_key()
97 reg3 ^= ck[11]; in aria_set_encrypt_key()
99 aria_subst_diff_odd(®0, ®1, ®2, ®3); in aria_set_encrypt_key()
104 w3[3] = reg3 ^ w1[3]; in aria_set_encrypt_key()
196 u32 reg0, reg1, reg2, reg3; in __aria_crypt() local
204 reg3 = be32_to_cpu(src[3]); in __aria_crypt()
206 aria_add_round_key(key[rkidx], ®0, ®1, ®2, ®3); in __aria_crypt()
209 aria_subst_diff_odd(®0, ®1, ®2, ®3); in __aria_crypt()
210 aria_add_round_key(key[rkidx], ®0, ®1, ®2, ®3); in __aria_crypt()
214 aria_subst_diff_even(®0, ®1, ®2, ®3); in __aria_crypt()
215 aria_add_round_key(key[rkidx], ®0, ®1, ®2, ®3); in __aria_crypt()
218 aria_subst_diff_odd(®0, ®1, ®2, ®3); in __aria_crypt()
219 aria_add_round_key(key[rkidx], ®0, ®1, ®2, ®3); in __aria_crypt()
235 reg3 = key[rkidx][3] ^ make_u32((u8)(x1[get_u8(reg3, 0)]), in __aria_crypt()
236 (u8)(x2[get_u8(reg3, 1)] >> 8), in __aria_crypt()
237 (u8)(s1[get_u8(reg3, 2)]), in __aria_crypt()
238 (u8)(s2[get_u8(reg3, 3)])); in __aria_crypt()
243 dst[3] = cpu_to_be32(reg3); in __aria_crypt()