Lines Matching refs:T0
345 #define ARIA_ADD_ROUND_KEY(RK, T0, T1, T2, T3) \ argument
347 (T0) ^= (RK)->u[0]; \
354 #define ARIA_SBOX_LAYER1_WITH_PRE_DIFF(T0, T1, T2, T3) \ argument
356 (T0) = \
357 S1[GET_U8_BE(T0, 0)] ^ \
358 S2[GET_U8_BE(T0, 1)] ^ \
359 X1[GET_U8_BE(T0, 2)] ^ \
360 X2[GET_U8_BE(T0, 3)]; \
379 #define ARIA_SBOX_LAYER2_WITH_PRE_DIFF(T0, T1, T2, T3) \ argument
381 (T0) = \
382 X1[GET_U8_BE(T0, 0)] ^ \
383 X2[GET_U8_BE(T0, 1)] ^ \
384 S1[GET_U8_BE(T0, 2)] ^ \
385 S2[GET_U8_BE(T0, 3)]; \
404 #define ARIA_DIFF_WORD(T0,T1,T2,T3) \ argument
408 (T0) ^= (T1); \
411 (T2) ^= (T0); \
416 #define ARIA_DIFF_BYTE(T0, T1, T2, T3) \ argument
424 #define ARIA_SUBST_DIFF_ODD(T0, T1, T2, T3) \ argument
426 ARIA_SBOX_LAYER1_WITH_PRE_DIFF(T0, T1, T2, T3); \
427 ARIA_DIFF_WORD(T0, T1, T2, T3); \
428 ARIA_DIFF_BYTE(T0, T1, T2, T3); \
429 ARIA_DIFF_WORD(T0, T1, T2, T3); \
433 #define ARIA_SUBST_DIFF_EVEN(T0, T1, T2, T3) \ argument
435 ARIA_SBOX_LAYER2_WITH_PRE_DIFF(T0, T1, T2, T3); \
436 ARIA_DIFF_WORD(T0, T1, T2, T3); \
437 ARIA_DIFF_BYTE(T2, T3, T0, T1); \
438 ARIA_DIFF_WORD(T0, T1, T2, T3); \