/crypto/ |
D | rmd256.c | 38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ macro 80 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[5], 8); in rmd256_transform() 81 ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[14], 9); in rmd256_transform() 82 ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[7], 9); in rmd256_transform() 83 ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[0], 11); in rmd256_transform() 84 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[9], 13); in rmd256_transform() 85 ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[2], 15); in rmd256_transform() 86 ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[11], 15); in rmd256_transform() 87 ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[4], 5); in rmd256_transform() 88 ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[13], 7); in rmd256_transform() [all …]
|
D | rmd128.c | 38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ macro 116 ROUND(aa, bb, cc, dd, F4, K4, in[1], 11); in rmd128_transform() 117 ROUND(dd, aa, bb, cc, F4, K4, in[9], 12); in rmd128_transform() 118 ROUND(cc, dd, aa, bb, F4, K4, in[11], 14); in rmd128_transform() 119 ROUND(bb, cc, dd, aa, F4, K4, in[10], 15); in rmd128_transform() 120 ROUND(aa, bb, cc, dd, F4, K4, in[0], 14); in rmd128_transform() 121 ROUND(dd, aa, bb, cc, F4, K4, in[8], 15); in rmd128_transform() 122 ROUND(cc, dd, aa, bb, F4, K4, in[12], 9); in rmd128_transform() 123 ROUND(bb, cc, dd, aa, F4, K4, in[4], 8); in rmd128_transform() 124 ROUND(aa, bb, cc, dd, F4, K4, in[13], 9); in rmd128_transform() [all …]
|
D | md5.c | 38 #define F4(x, y, z) (y ^ (x | ~z)) macro 103 MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); in md5_transform() 104 MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); in md5_transform() 105 MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); in md5_transform() 106 MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); in md5_transform() 107 MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); in md5_transform() 108 MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); in md5_transform() 109 MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); in md5_transform() 110 MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); in md5_transform() 111 MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); in md5_transform() [all …]
|
D | rmd160.c | 40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ macro 122 ROUND(cc, dd, ee, aa, bb, F4, K4, in[1], 11); in rmd160_transform() 123 ROUND(bb, cc, dd, ee, aa, F4, K4, in[9], 12); in rmd160_transform() 124 ROUND(aa, bb, cc, dd, ee, F4, K4, in[11], 14); in rmd160_transform() 125 ROUND(ee, aa, bb, cc, dd, F4, K4, in[10], 15); in rmd160_transform() 126 ROUND(dd, ee, aa, bb, cc, F4, K4, in[0], 14); in rmd160_transform() 127 ROUND(cc, dd, ee, aa, bb, F4, K4, in[8], 15); in rmd160_transform() 128 ROUND(bb, cc, dd, ee, aa, F4, K4, in[12], 9); in rmd160_transform() 129 ROUND(aa, bb, cc, dd, ee, F4, K4, in[4], 8); in rmd160_transform() 130 ROUND(ee, aa, bb, cc, dd, F4, K4, in[13], 9); in rmd160_transform() [all …]
|
D | rmd320.c | 40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ macro 125 ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[6], 9); in rmd320_transform() 126 ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[11], 13); in rmd320_transform() 127 ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[3], 15); in rmd320_transform() 128 ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[7], 7); in rmd320_transform() 129 ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[0], 12); in rmd320_transform() 130 ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[13], 8); in rmd320_transform() 131 ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[5], 9); in rmd320_transform() 132 ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[10], 11); in rmd320_transform() 133 ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[14], 7); in rmd320_transform() [all …]
|