Lines Matching +full:4 +full:- +full:way
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 .file "blowfish-x86_64-asm.S"
16 #define s0 ((16 + 2) * 4)
17 #define s1 ((16 + 2 + (1 * 256)) * 4)
18 #define s2 ((16 + 2 + (2 * 256)) * 4)
19 #define s3 ((16 + 2 + (3 * 256)) * 4)
58 * 1-way blowfish
65 movl s0(CTX,RT0,4), RT0d; \
66 addl s1(CTX,RT1,4), RT0d; \
70 xorl s2(CTX,RT1,4), RT0d; \
71 addl s3(CTX,RT2,4), RT0d; \
75 xorq p+4*(n)(CTX), RX0;
84 movq p+4*(n-1)(CTX), RT0; \
124 round_enc(4);
178 4-way blowfish, four blocks parallel
181 /* F() for 4-way. Slower when used alone/1-way, but faster when used
182 * parallel/4-way (tested on AMD Phenom II & Intel Xeon E7330).
191 movl s0(CTX,RT0,4), RT0d; \
192 addl s1(CTX,RT2,4), RT0d; \
193 xorl s2(CTX,RT1,4), RT0d; \
194 addl s3(CTX,RT3,4), RT0d; \
204 movq p+4*(n)(CTX), RKEY;
224 movq p+4*((n)-1)(CTX), RKEY; \
229 preload_roundkey_dec(n - 2);
308 round_enc4(4);