Lines Matching refs:T3
345 #define ARIA_ADD_ROUND_KEY(RK, T0, T1, T2, T3) \ argument
350 (T3) ^= (RK)->u[3]; \
354 #define ARIA_SBOX_LAYER1_WITH_PRE_DIFF(T0, T1, T2, T3) \ argument
371 (T3) = \
372 S1[GET_U8_BE(T3, 0)] ^ \
373 S2[GET_U8_BE(T3, 1)] ^ \
374 X1[GET_U8_BE(T3, 2)] ^ \
375 X2[GET_U8_BE(T3, 3)]; \
379 #define ARIA_SBOX_LAYER2_WITH_PRE_DIFF(T0, T1, T2, T3) \ argument
396 (T3) = \
397 X1[GET_U8_BE(T3, 0)] ^ \
398 X2[GET_U8_BE(T3, 1)] ^ \
399 S1[GET_U8_BE(T3, 2)] ^ \
400 S2[GET_U8_BE(T3, 3)]; \
404 #define ARIA_DIFF_WORD(T0,T1,T2,T3) \ argument
407 (T2) ^= (T3); \
410 (T3) ^= (T1); \
416 #define ARIA_DIFF_BYTE(T0, T1, T2, T3) \ argument
420 (T3) = bswap32(T3); \
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); \