Home
last modified time | relevance | path

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

/crypto/
Drmd256.c40 #define ROUND(a, b, c, d, f, k, x, s) { \ macro
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()
70 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd256_transform()
[all …]
Drmd128.c40 #define ROUND(a, b, c, d, f, k, x, s) { \ macro
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()
70 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd128_transform()
[all …]
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 …]
Drmd320.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 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()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd320_transform()
[all …]
Dblowfish_generic.c34 #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()
[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 …]