Lines Matching full:round
23 * Round loop unrolling macros, S is a pointer to a S-Box array
34 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) macro
46 ROUND(yr, yl, 0); in bf_encrypt()
47 ROUND(yl, yr, 1); in bf_encrypt()
48 ROUND(yr, yl, 2); in bf_encrypt()
49 ROUND(yl, yr, 3); in bf_encrypt()
50 ROUND(yr, yl, 4); in bf_encrypt()
51 ROUND(yl, yr, 5); in bf_encrypt()
52 ROUND(yr, yl, 6); in bf_encrypt()
53 ROUND(yl, yr, 7); in bf_encrypt()
54 ROUND(yr, yl, 8); in bf_encrypt()
55 ROUND(yl, yr, 9); in bf_encrypt()
56 ROUND(yr, yl, 10); in bf_encrypt()
57 ROUND(yl, yr, 11); in bf_encrypt()
58 ROUND(yr, yl, 12); in bf_encrypt()
59 ROUND(yl, yr, 13); in bf_encrypt()
60 ROUND(yr, yl, 14); in bf_encrypt()
61 ROUND(yl, yr, 15); in bf_encrypt()
80 ROUND(yr, yl, 17); in bf_decrypt()
81 ROUND(yl, yr, 16); in bf_decrypt()
82 ROUND(yr, yl, 15); in bf_decrypt()
83 ROUND(yl, yr, 14); in bf_decrypt()
84 ROUND(yr, yl, 13); in bf_decrypt()
85 ROUND(yl, yr, 12); in bf_decrypt()
86 ROUND(yr, yl, 11); in bf_decrypt()
87 ROUND(yl, yr, 10); in bf_decrypt()
88 ROUND(yr, yl, 9); in bf_decrypt()
89 ROUND(yl, yr, 8); in bf_decrypt()
90 ROUND(yr, yl, 7); in bf_decrypt()
91 ROUND(yl, yr, 6); in bf_decrypt()
92 ROUND(yr, yl, 5); in bf_decrypt()
93 ROUND(yl, yr, 4); in bf_decrypt()
94 ROUND(yr, yl, 3); in bf_decrypt()
95 ROUND(yl, yr, 2); in bf_decrypt()