Home
last modified time | relevance | path

Searched refs:ROUND (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/crypto/
Drmd160.c43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ macro
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()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd160_transform()
[all …]
Dblowfish_generic.c34 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) macro
44 ROUND(yr, yl, 0); in bf_encrypt()
45 ROUND(yl, yr, 1); in bf_encrypt()
46 ROUND(yr, yl, 2); in bf_encrypt()
47 ROUND(yl, yr, 3); in bf_encrypt()
48 ROUND(yr, yl, 4); in bf_encrypt()
49 ROUND(yl, yr, 5); in bf_encrypt()
50 ROUND(yr, yl, 6); in bf_encrypt()
51 ROUND(yl, yr, 7); in bf_encrypt()
52 ROUND(yr, yl, 8); in bf_encrypt()
[all …]
Dblowfish_common.c304 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) macro
317 ROUND(yr, yl, 0); in encrypt_block()
318 ROUND(yl, yr, 1); in encrypt_block()
319 ROUND(yr, yl, 2); in encrypt_block()
320 ROUND(yl, yr, 3); in encrypt_block()
321 ROUND(yr, yl, 4); in encrypt_block()
322 ROUND(yl, yr, 5); in encrypt_block()
323 ROUND(yr, yl, 6); in encrypt_block()
324 ROUND(yl, yr, 7); in encrypt_block()
325 ROUND(yr, yl, 8); in encrypt_block()
[all …]
Dblake2b_generic.c58 #define ROUND(r) \ macro
92 ROUND(0); in blake2b_compress_one_generic()
93 ROUND(1); in blake2b_compress_one_generic()
94 ROUND(2); in blake2b_compress_one_generic()
95 ROUND(3); in blake2b_compress_one_generic()
96 ROUND(4); in blake2b_compress_one_generic()
97 ROUND(5); in blake2b_compress_one_generic()
98 ROUND(6); in blake2b_compress_one_generic()
99 ROUND(7); in blake2b_compress_one_generic()
100 ROUND(8); in blake2b_compress_one_generic()
[all …]
/linux-6.1.9/fs/ext4/
Dhash.c44 #define ROUND(f, a, b, c, d, x, s) \ macro
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()
65 ROUND(F, b, c, d, a, in[7] + K1, 19); in half_md4_transform()
68 ROUND(G, a, b, c, d, in[1] + K2, 3); in half_md4_transform()
[all …]
/linux-6.1.9/lib/crypto/
Dblake2s-generic.c79 #define ROUND(r) do { \ in blake2s_compress_generic() macro
89 ROUND(0); in blake2s_compress_generic()
90 ROUND(1); in blake2s_compress_generic()
91 ROUND(2); in blake2s_compress_generic()
92 ROUND(3); in blake2s_compress_generic()
93 ROUND(4); in blake2s_compress_generic()
94 ROUND(5); in blake2s_compress_generic()
95 ROUND(6); in blake2s_compress_generic()
96 ROUND(7); in blake2s_compress_generic()
97 ROUND(8); in blake2s_compress_generic()
[all …]
Ddes.c582 #define ROUND(L, R, A, B, K, d) \ macro
792 ROUND(L, R, A, B, K, 2); in des_encrypt()
793 ROUND(R, L, A, B, K, 2); in des_encrypt()
813 ROUND(L, R, A, B, K, -2); in des_decrypt()
814 ROUND(R, L, A, B, K, -2); in des_decrypt()
855 ROUND(L, R, A, B, K, 2); in des3_ede_encrypt()
856 ROUND(R, L, A, B, K, 2); in des3_ede_encrypt()
859 ROUND(R, L, A, B, K, 2); in des3_ede_encrypt()
860 ROUND(L, R, A, B, K, 2); in des3_ede_encrypt()
863 ROUND(L, R, A, B, K, 2); in des3_ede_encrypt()
[all …]
/linux-6.1.9/arch/x86/crypto/
Dsm4-aesni-avx-asm_64.S190 #define ROUND(round, s0, s1, s2, s3) \ macro
219 ROUND(0, RA0, RA1, RA2, RA3);
220 ROUND(1, RA1, RA2, RA3, RA0);
221 ROUND(2, RA2, RA3, RA0, RA1);
222 ROUND(3, RA3, RA0, RA1, RA2);
227 #undef ROUND
279 #define ROUND(round, s0, s1, s2, s3, r0, r1, r2, r3) \ macro
336 ROUND(0, RA0, RA1, RA2, RA3, RB0, RB1, RB2, RB3);
337 ROUND(1, RA1, RA2, RA3, RA0, RB1, RB2, RB3, RB0);
338 ROUND(2, RA2, RA3, RA0, RA1, RB2, RB3, RB0, RB1);
[all …]
Dsm4-aesni-avx2-asm_64.S185 #define ROUND(round, s0, s1, s2, s3, r0, r1, r2, r3) \ macro
248 ROUND(0, RA0, RA1, RA2, RA3, RB0, RB1, RB2, RB3);
249 ROUND(1, RA1, RA2, RA3, RA0, RB1, RB2, RB3, RB0);
250 ROUND(2, RA2, RA3, RA0, RA1, RB2, RB3, RB0, RB1);
251 ROUND(3, RA3, RA0, RA1, RA2, RB3, RB0, RB1, RB2);
256 #undef ROUND
/linux-6.1.9/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c33 #define ROUND(x, y) ((x) / (y) + \ macro
260 phy->clk_t_lpx = ROUND(50, 8 * ui); in dsi_get_phy_params()
261 phy->clk_t_hs_prepare = ROUND(133, 16 * ui) - 1; in dsi_get_phy_params()
263 phy->clk_t_hs_zero = ROUND(262, 8 * ui); in dsi_get_phy_params()
264 phy->clk_t_hs_trial = 2 * (ROUND(60, 8 * ui) - 1); in dsi_get_phy_params()
265 phy->clk_t_wakeup = ROUND(1000000, (ref_clk_ps / 1000) - 1); in dsi_get_phy_params()
270 phy->data_t_hs_prepare = ROUND(125 + 10 * ui, 16 * ui) - 1; in dsi_get_phy_params()
271 phy->data_t_hs_zero = ROUND(105 + 6 * ui, 8 * ui); in dsi_get_phy_params()
272 phy->data_t_hs_trial = 2 * (ROUND(60 + 4 * ui, 8 * ui) - 1); in dsi_get_phy_params()
277 phy->clklp2hs_time = ROUND(407, 8 * ui) + 12; in dsi_get_phy_params()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dtsc_msrs_test.c15 #define ROUND(x) ((x + UNITY / 2) & -UNITY) macro
16 #define rounded_rdmsr(x) ROUND(rdmsr(x))
17 #define rounded_host_rdmsr(x) ROUND(vcpu_get_msr(vcpu, x))
/linux-6.1.9/arch/m68k/fpsp040/
Dround.S14 |ROUND idnt 2,1 | Motorola 040 Floating Point Software Package
76 | ROUND PLUS INFINITY
102 | ROUND ZERO
110 | ROUND NEAREST
126 | Input: d1 = PREC:ROUND
Dstwotox.S232 fmovel %fp1,N(%a6) | ...N = ROUND-TO-INT(64 X)
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da2xx.xml.h183 ROUND = 1, enumerator
/linux-6.1.9/arch/m68k/ifpsp060/src/
Dfplsp.S8455 fadd.s one(%pc),%fp0 # X := ROUND(1+Z)
9007 fmov.l %fp1,INT(%a6) # N = ROUND-TO-INT(64 X)