Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 60) sorted by relevance

123

/arch/arm64/crypto/
A Dsm3-neon-core.S161 #define KL(round) \ argument
162 ldp k_even, k_odd, [RKPTR, #(4*(round))];
167 #define IW_W_ADDR(round, widx, offs) \ argument
171 #define XW_W_ADDR(round, widx, offs) \ argument
175 #define IW_W1_ADDR(round, widx) IW_W_ADDR(round, widx, 32) argument
176 #define IW_W1W2_ADDR(round, widx) IW_W_ADDR(round, widx, 48) argument
179 #define XW_W1_ADDR(round, widx) XW_W_ADDR(round, widx, 0) argument
180 #define XW_W1W2_ADDR(round, widx) XW_W_ADDR(round, widx, 16) argument
262 add addr0, sp, #XW_W1_ADDR((round), 0); \
304 #define SCHED_W_W0W1W2W3W4W5_1(iop_num, round) \ argument
[all …]
A Daes-cipher-core.S84 .macro do_crypt, round, ttab, ltab, bsz
104 0: \round w8, w9, w10, w11, w4, w5, w6, w7
105 \round w4, w5, w6, w7, w8, w9, w10, w11
108 \round w8, w9, w10, w11, w4, w5, w6, w7
110 2: \round w4, w5, w6, w7, w8, w9, w10, w11
113 \round w4, w5, w6, w7, w8, w9, w10, w11, \bsz, b
A Dsm3-ce-core.S44 .macro round, ab, s0, t0, t1, i macro
62 round \ab, \s0, v11, v12, 0
63 round \ab, \s0, v12, v11, 1
64 round \ab, \s0, v11, v12, 2
65 round \ab, \s0, v12, v11, 3
/arch/mips/math-emu/
A Dsp_rint.c19 int round; in ieee754sp_rint() local
42 round = 0; in ieee754sp_rint()
48 round = (residue >> 31) != 0; in ieee754sp_rint()
57 if (round && (sticky || odd)) in ieee754sp_rint()
63 if ((round || sticky) && !xs) in ieee754sp_rint()
67 if ((round || sticky) && xs) in ieee754sp_rint()
72 if (round || sticky) in ieee754sp_rint()
A Ddp_rint.c19 int round; in ieee754dp_rint() local
42 round = 0; in ieee754dp_rint()
47 round = (residue >> 63) != 0; in ieee754dp_rint()
56 if (round && (sticky || odd)) in ieee754dp_rint()
62 if ((round || sticky) && !xs) in ieee754dp_rint()
66 if ((round || sticky) && xs) in ieee754dp_rint()
71 if (round || sticky) in ieee754dp_rint()
A Ddp_tint.c15 int round; in ieee754dp_tint() local
55 round = 0; in ieee754dp_tint()
60 round = (residue >> 63) != 0; in ieee754dp_tint()
69 if (round && (sticky || odd)) in ieee754dp_tint()
75 if ((round || sticky) && !xs) in ieee754dp_tint()
79 if ((round || sticky) && xs) in ieee754dp_tint()
89 if (round || sticky) in ieee754dp_tint()
A Ddp_tlong.c15 int round; in ieee754dp_tlong() local
58 round = 0; in ieee754dp_tlong()
67 round = (residue >> 63) != 0; in ieee754dp_tlong()
74 if (round && (sticky || odd)) in ieee754dp_tlong()
80 if ((round || sticky) && !xs) in ieee754dp_tlong()
84 if ((round || sticky) && xs) in ieee754dp_tlong()
93 if (round || sticky) in ieee754dp_tlong()
A Dsp_tint.c15 int round; in ieee754sp_tint() local
58 round = 0; in ieee754sp_tint()
67 round = (residue >> 31) != 0; in ieee754sp_tint()
74 if (round && (sticky || odd)) in ieee754sp_tint()
80 if ((round || sticky) && !xs) in ieee754sp_tint()
84 if ((round || sticky) && xs) in ieee754sp_tint()
93 if (round || sticky) in ieee754sp_tint()
A Dsp_tlong.c15 int round; in ieee754sp_tlong() local
58 round = 0; in ieee754sp_tlong()
63 round = (residue >> 31) != 0; in ieee754sp_tlong()
70 if (round && (sticky || odd)) in ieee754sp_tlong()
76 if ((round || sticky) && !xs) in ieee754sp_tlong()
80 if ((round || sticky) && xs) in ieee754sp_tlong()
89 if (round || sticky) in ieee754sp_tlong()
/arch/x86/crypto/
A Dcast5-avx-x86_64-asm_64.S252 round(RL, RR, 0, 1);
253 round(RR, RL, 1, 2);
254 round(RL, RR, 2, 3);
255 round(RR, RL, 3, 1);
256 round(RL, RR, 4, 2);
257 round(RR, RL, 5, 3);
258 round(RL, RR, 6, 1);
259 round(RR, RL, 7, 2);
260 round(RL, RR, 8, 3);
261 round(RR, RL, 9, 1);
[all …]
A Dtwofish-x86_64-asm_64.S67 #define encrypt_round(a,b,c,d,round)\ argument
89 add k+round(%r11), %r9d;\
92 add k+4+round(%r11),%r8d;\
103 #define encrypt_last_round(a,b,c,d,round)\ argument
127 add k+round(%r11), %r9d;\
130 add k+4+round(%r11),%r8d;\
140 #define decrypt_round(a,b,c,d,round)\ argument
162 add k+round(%r11), %r9d;\
164 add k+4+round(%r11),%r8d;\
200 add k+round(%r11), %r9d;\
[all …]
A Dsm3-avx-asm_64.S185 leal K##round(t0, e, 1), t1; \
188 addl wtype##_W1_ADDR(round, widx), h; \
194 addl wtype##_W1W2_ADDR(round, widx), d; \
224 #define IW_W_ADDR(round, widx, offs) \ argument
228 #define XW_W_ADDR(round, widx, offs) \ argument
232 #define IW_W1_ADDR(round, widx) IW_W_ADDR(round, widx, 0) argument
233 #define IW_W1W2_ADDR(round, widx) IW_W_ADDR(round, widx, 32) argument
236 #define XW_W1_ADDR(round, widx) XW_W_ADDR(round, widx, 0) argument
237 #define XW_W1W2_ADDR(round, widx) XW_W_ADDR(round, widx, 32) argument
311 vmovdqa XTMP4, XW_W1_ADDR((round), 0); \
[all …]
A Dtwofish-i586-asm_32.S67 #define encrypt_round(a,b,c,d,round)\ argument
91 add k+round(%ebp), %esi;\
94 add k+4+round(%ebp),d ## D;\
105 #define encrypt_last_round(a,b,c,d,round)\ argument
129 add k+round(%ebp), %esi;\
132 add k+4+round(%ebp),d ## D;\
142 #define decrypt_round(a,b,c,d,round)\ argument
166 add k+round(%ebp), c ## D;\
168 add k+4+round(%ebp),%esi;\
204 add k+round(%ebp), c ## D;\
[all …]
A Daesni-intel_asm.S159 aeskeygenassist $0x1, %xmm2, %xmm1 # round 1
163 aeskeygenassist $0x2, %xmm2, %xmm1 # round 2
167 aeskeygenassist $0x4, %xmm2, %xmm1 # round 3
171 aeskeygenassist $0x8, %xmm2, %xmm1 # round 4
188 aeskeygenassist $0x1, %xmm2, %xmm1 # round 1
289 pxor KEY, STATE # round 0
352 pxor KEY, STATE1 # round 0
432 aesenclast KEY, STATE1 # last round
479 pxor KEY, STATE # round 0
542 pxor KEY, STATE1 # round 0
[all …]
A Daria-gfni-avx512-asm_64.S272 t0, rk, round) \ argument
274 vpbroadcastb ((round * 16) + 3)(rk), t0; \
276 vpbroadcastb ((round * 16) + 2)(rk), t0; \
278 vpbroadcastb ((round * 16) + 1)(rk), t0; \
280 vpbroadcastb ((round * 16) + 0)(rk), t0; \
427 mem_tmp, rk, round) \ argument
430 z0, rk, round); \
467 mem_tmp, rk, round) \ argument
470 z0, rk, round); \
506 mem_tmp, rk, round, last_round) \ argument
[all …]
A Daria-aesni-avx2-asm_64.S286 t0, rk, idx, round) \ argument
464 mem_tmp, rk, round) \ argument
466 y0, rk, 8, round); \
481 y0, rk, 0, round); \
518 mem_tmp, rk, round) \ argument
520 y0, rk, 8, round); \
535 y0, rk, 0, round); \
574 y0, rk, 8, round); \
590 y0, rk, 0, round); \
606 mem_tmp, rk, round) \ argument
[all …]
A Daria-aesni-avx-asm_64.S271 idx, round) \ argument
423 mem_tmp, rk, round) \ argument
426 y0, y7, y2, rk, 8, round); \
441 y0, y7, y2, rk, 0, round); \
478 mem_tmp, rk, round) \ argument
481 y0, y7, y2, rk, 8, round); \
496 y0, y7, y2, rk, 0, round); \
533 mem_tmp, rk, round, last_round) \ argument
536 y0, y7, y2, rk, 8, round); \
569 mem_tmp, rk, round) \ argument
[all …]
/arch/powerpc/crypto/
A Daes-gcm-p10.S32 # vs0 - round key 0
642 # r6 - AES round keys
674 # load 9 round keys to VSR
675 lxv 0, 0(6) # round key 0
676 lxv 1, 16(6) # round key 1
677 lxv 2, 32(6) # round key 2
721 vxor 15, 15, 29 # IV + round key - add round key 0
819 vxor 15, 15, 27 # IV + round key - add round key 0
952 # load 9 round keys to VSR
999 vxor 15, 15, 29 # IV + round key - add round key 0
[all …]
/arch/arm/crypto/
A Daes-cipher-core.S102 .macro do_crypt, round, ttab, ltab, bsz
149 0: \round r8, r9, r10, r11, r4, r5, r6, r7
150 \round r4, r5, r6, r7, r8, r9, r10, r11
153 \round r8, r9, r10, r11, r4, r5, r6, r7
155 \round r4, r5, r6, r7, r8, r9, r10, r11
172 \round r4, r5, r6, r7, r8, r9, r10, r11, \bsz, b, rounds
/arch/m68k/fpsp040/
A Dround.S2 | round.sa 3.4 7/29/91
21 | round --- round result according to precision/mode
44 .global round
45 round: label
55 swap %d1 |set up d1.w for round prec.
81 swap %d1 |set up d1 for round prec.
106 swap %d1 |set up d1 for round prec.
116 swap %d1 |set up d1 for round prec.
411 | d0 is guard,round,sticky
489 | d0{31:29} initial guard,round,sticky
[all …]
A Dres_func.S36 |xref round
111 | The routine round is used to correctly round the input for the
894 bsrl round |round result to users rmode & prec
918 bsrl round |round result to users rmode & prec
944 bsrl round |round result to users rmode & prec
964 | round routine.)
1069 bsrl round |round result to users rmode & prec
1102 bsrl round |round result to users rmode & prec
1125 bsrl round |round result to users rmode & prec
1145 | round routine.)
[all …]
A Dx_unfl.S34 |xref round
53 bsrl unf_res |denormalize, round & store interm op
146 | ;upper word for round
189 | Set up d1 for round subroutine d1 contains the PREC/MODE
197 | round subroutines. All code between these two subroutines
203 | d0{31:29} has guard, round, sticky
209 bsrl round |returns rounded denorm at (a0)
A Dfpsp.h159 .set WBTEMP_GRS,LV-40 | alias wbtemp guard, round, sticky
161 .set round_bit,0 | round bit is bit number 0
289 .set x_mode,0x00 | round to extended
290 .set s_mode,0x40 | round to single
291 .set d_mode,0x80 | round to double
293 .set rn_mode,0x00 | round nearest
294 .set rz_mode,0x10 | round to zero
295 .set rm_mode,0x20 | round to minus infinity
296 .set rp_mode,0x30 | round to plus infinity
305 .set rnd_stky_bit,29 | round/sticky bit of mantissa
A Dsint.S35 | sintrz, force round-to-zero mode.
65 |xref round
217 | ;used by round
221 bsr round |round the unnorm based on users
A Dslog2.S34 | Notes: Default means round-to-nearest mode, no floating-point
49 | Notes: Default means round-to-nearest mode, no floating-point
63 | Notes: Default means round-to-nearest mode, no floating-point
78 | Notes: Default means round-to-nearest mode, no floating-point

Completed in 48 milliseconds

123