Home
last modified time | relevance | path

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

/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 …]