Home
last modified time | relevance | path

Searched full:round (Results 1 – 25 of 1264) sorted by relevance

12345678910>>...51

/Linux-v5.10/crypto/
Drmd160.c43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ macro
67 /* round 1: left lane */ in rmd160_transform()
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
[all …]
Drmd320.c43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ macro
67 /* round 1: left lane */ in rmd320_transform()
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
[all …]
Drmd128.c40 #define ROUND(a, b, c, d, f, k, x, s) { \ macro
61 /* round 1: left lane */ in rmd128_transform()
62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
[all …]
Drmd256.c40 #define ROUND(a, b, c, d, f, k, x, s) { \ macro
61 /* round 1: left lane */ in rmd256_transform()
62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
[all …]
Dblowfish_generic.c23 * 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()
[all …]
Dcamellia_generic.c371 /* round 2 */ in camellia_setup_tail()
373 /* round 4 */ in camellia_setup_tail()
375 /* round 6 */ in camellia_setup_tail()
380 /* round 8 */ in camellia_setup_tail()
382 /* round 10 */ in camellia_setup_tail()
384 /* round 12 */ in camellia_setup_tail()
389 /* round 14 */ in camellia_setup_tail()
391 /* round 16 */ in camellia_setup_tail()
393 /* round 18 */ in camellia_setup_tail()
405 /* round 20 */ in camellia_setup_tail()
[all …]
/Linux-v5.10/fs/ext4/
Dhash.c39 * The generic round function. The application is so specific that
44 #define ROUND(f, a, b, c, d, x, s) \ macro
57 /* Round 1 */ in half_md4_transform()
58 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform()
59 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform()
60 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform()
61 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform()
62 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform()
63 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform()
64 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform()
[all …]
/Linux-v5.10/arch/m68k/math-emu/
Dfp_util.S238 jne fp_e2e_roundother | %d2 == 0, round to nearest
242 jne fp_e2e_doroundup | round to infinity
244 jeq 9f | round to zero
258 jcs 9b | %d2 < 2, round to zero
259 jhi 1f | %d2 > 2, round to +infinity
261 jne fp_e2e_doroundup | negative, round to infinity
262 jra 9b | positive, round to zero
264 jeq fp_e2e_doroundup | positive, round to infinity
265 jra 9b | negative, round to zero
462 jne fp_ne_roundother | %d2 == 0, round to nearest
[all …]
/Linux-v5.10/arch/x86/crypto/
Dcast5-avx-x86_64-asm_64.S145 #define round(l, r, n, f) \ macro
249 round(RL, RR, 0, 1);
250 round(RR, RL, 1, 2);
251 round(RL, RR, 2, 3);
252 round(RR, RL, 3, 1);
253 round(RL, RR, 4, 2);
254 round(RR, RL, 5, 3);
255 round(RL, RR, 6, 1);
256 round(RR, RL, 7, 2);
257 round(RL, RR, 8, 3);
[all …]
/Linux-v5.10/arch/arm64/crypto/
Daes-ce-ccm-core.S19 ldr w8, [x3] /* leftover from prev round? */
32 1: ld1 {v3.4s}, [x4] /* load first round key */
42 ld1 {v5.4s}, [x6], #16 /* load 2nd round key */
45 4: ld1 {v3.4s}, [x6], #16 /* load next round key */
48 5: ld1 {v4.4s}, [x6], #16 /* load next round key */
52 ld1 {v5.4s}, [x6], #16 /* load next round key */
56 eor v0.16b, v0.16b, v5.16b /* final round */
91 ld1 {v3.4s}, [x2], #16 /* load first round key */
101 1: ld1 {v5.4s}, [x2], #16 /* load next round key */
106 2: ld1 {v3.4s}, [x2], #16 /* load next round key */
[all …]
Dsha512-core.S_shipped41 // 10% (or by 1 cycle per round), but at the cost of 20% loss
42 // on Cortex-A53 (or by 4 cycles per round).
57 // all-round performance. For example it executes ~30% faster on X-Gene
106 eor x19,x20,x21 // a^b, b^c in next round
117 ldr x28,[x30],#8 // *K++, x19 in next round
131 eor x28,x27,x20 // a^b, b^c in next round
142 ldr x19,[x30],#8 // *K++, x28 in next round
155 eor x19,x26,x27 // a^b, b^c in next round
166 ldr x28,[x30],#8 // *K++, x19 in next round
180 eor x28,x25,x26 // a^b, b^c in next round
[all …]
/Linux-v5.10/lib/crypto/
Dblake2s-generic.c75 #define ROUND(r) do { \ in blake2s_compress_generic() macro
85 ROUND(0); in blake2s_compress_generic()
86 ROUND(1); in blake2s_compress_generic()
87 ROUND(2); in blake2s_compress_generic()
88 ROUND(3); in blake2s_compress_generic()
89 ROUND(4); in blake2s_compress_generic()
90 ROUND(5); in blake2s_compress_generic()
91 ROUND(6); in blake2s_compress_generic()
92 ROUND(7); in blake2s_compress_generic()
93 ROUND(8); in blake2s_compress_generic()
[all …]
/Linux-v5.10/arch/mips/math-emu/
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()
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()
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()
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()
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()
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()
/Linux-v5.10/arch/parisc/math-emu/
Dfrnd.c12 * Single Floating-point Round to Integer
13 * Double Floating-point Round to Integer
14 * Quad Floating-point Round to Integer (returns unimplemented)
30 * Single Floating-point Round to Integer
66 * Need to round? in sgl_frnd()
82 /* round result */ in sgl_frnd()
108 /* round result */ in sgl_frnd()
134 * Double Floating-point Round to Integer
171 * Need to round? in dbl_frnd()
188 /* round result */ in dbl_frnd()
[all …]
/Linux-v5.10/arch/m68k/fpsp040/
Dround.S2 | round.sa 3.4 7/29/91
14 |ROUND idnt 2,1 | Motorola 040 Floating Point Software Package
21 | round --- round result according to precision/mode
44 .global round
45 round: label
46 | If g=r=s=0 then result is exact and round is done, else set
55 swap %d1 |set up d1.w for round prec.
76 | ROUND PLUS INFINITY
81 swap %d1 |set up d1 for round prec.
89 | ROUND MINUS INFINITY
[all …]
Dres_func.S36 |xref round
111 | The routine round is used to correctly round the input for the
178 | If bit 2 is set, round is forced to double. If it is clear,
179 | and bit 6 is set, round is forced to single. If both are clear,
180 | the round precision is found in the fpcr. If the rounding precision
181 | is double or single, round the result before the write.
203 | The move is fdmove or round precision is double.
213 clrl %d0 |clear g,r,s for round
216 bsrl round
227 | The move is fsmove or round precision is single.
[all …]
Dx_unfl.S34 |xref round
53 bsrl unf_res |denormalize, round & store interm op
146 | ;upper word for round
161 | the user's precision for the round routine.
168 bnes unf_cont |if not, use fpcr prec in round
183 | ;d0 has guard,round sticky bit
185 | ;before it reaches the round subroutine
189 | Set up d1 for round subroutine d1 contains the PREC/MODE
197 | round subroutines. All code between these two subroutines
201 | Perform Round
[all …]
Dsint.S34 | 3. Round the result in the mode given in USER_FPCR. For
35 | sintrz, force round-to-zero mode.
65 |xref round
90 beq snzrinx |if round nearest or round zero, +/- 0
96 bsr ld_pone |if round plus inf and pos, answer is +1
101 bsr ld_mone |if round mns inf and neg, answer is -1
217 | ;used by round
221 bsr round |round the unnorm based on users
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dconstraints.svg3 <svg id="svg2" width="249.01mm" height="143.01mm" fill-rule="evenodd" stroke-linejoin="round" strok…
5 …54z" fill="#000080" fill-rule="evenodd" stroke="#000080" stroke-linejoin="round" stroke-width=".62…
6 …00v-14200h24800v14200h-12400z" fill="none" stroke="#f00" stroke-linejoin="round" stroke-width="100…
7 …250h-9e3v-1e4h18000v1e4h-9e3z" fill="none" stroke="#000" stroke-linejoin="round" stroke-width="100…
8 …900v-5400h7800v5400h-3900z" fill="none" stroke="#3465a4" stroke-linejoin="round" stroke-width="100…
9round" stroke-width="99.991"/><rect id="rect269" class="BoundingBox" x="3400" y="7100" width="2101…
10round" stroke-width="100"/><rect id="rect290" class="BoundingBox" x="450" y="6850" width="2051" he…
11 … fill="none" marker-end="url(#marker5693)" stroke="#f00" stroke-linejoin="round" stroke-width="166…
/Linux-v5.10/arch/x86/lib/
Dchecksum_32.S386 #define ROUND(x) \ macro
417 ROUND1(-64) ROUND(-60) ROUND(-56) ROUND(-52)
418 ROUND (-48) ROUND(-44) ROUND(-40) ROUND(-36)
419 ROUND (-32) ROUND(-28) ROUND(-24) ROUND(-20)
420 ROUND (-16) ROUND(-12) ROUND(-8) ROUND(-4)
453 #undef ROUND

12345678910>>...51