By adopting rsaenh implementation.
Signed-off-by: Jacek Caban jacek@codeweavers.com --- dlls/bcrypt/Makefile.in | 1 + dlls/bcrypt/bcrypt_internal.h | 9 +++ dlls/bcrypt/bcrypt_main.c | 16 +++++ dlls/bcrypt/md2.c | 145 ++++++++++++++++++++++++++++++++++++++++++ dlls/bcrypt/tests/bcrypt.c | 6 ++ include/bcrypt.h | 1 + 6 files changed, 178 insertions(+) create mode 100644 dlls/bcrypt/md2.c
Hi,
While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at https://testbot.winehq.org/JobDetails.pl?Key=34655
Your paranoid android.
=== wvistau64 (32 bit bcrypt) === bcrypt.c:234: Test failed: got 138 expected 278 bcrypt.c:234: Test failed: got 150 expected 286 bcrypt.c:234: Test failed: got 254 expected 382 bcrypt.c:234: Test failed: got 254 expected 382 bcrypt.c:234: Test failed: got 98 expected 270 bcrypt.c:234: Test failed: got 150 expected 270
=== w2008s64 (32 bit bcrypt) === bcrypt.c:234: Test failed: got 138 expected 278 bcrypt.c:234: Test failed: got 150 expected 286 bcrypt.c:234: Test failed: got 254 expected 382 bcrypt.c:234: Test failed: got 254 expected 382 bcrypt.c:234: Test failed: got 98 expected 270 bcrypt.c:234: Test failed: got 150 expected 270
=== w7u (32 bit bcrypt) === bcrypt.c:234: Test failed: got 166 expected 278 bcrypt.c:234: Test failed: got 178 expected 286 bcrypt.c:234: Test failed: got 286 expected 382 bcrypt.c:234: Test failed: got 286 expected 382 bcrypt.c:234: Test failed: got 126 expected 270 bcrypt.c:234: Test failed: got 178 expected 270
=== w7pro64 (32 bit bcrypt) === bcrypt.c:234: Test failed: got 166 expected 278 bcrypt.c:234: Test failed: got 178 expected 286 bcrypt.c:234: Test failed: got 286 expected 382 bcrypt.c:234: Test failed: got 286 expected 382 bcrypt.c:234: Test failed: got 126 expected 270 bcrypt.c:234: Test failed: got 178 expected 270
=== w8 (32 bit bcrypt) === bcrypt.c:234: Test failed: got 270 expected 278 bcrypt.c:234: Test failed: got 302 expected 286 bcrypt.c:234: Test failed: got 254 expected 270 bcrypt.c:234: Test failed: got 262 expected 270
=== w864 (32 bit bcrypt) === bcrypt.c:234: Test failed: got 270 expected 278 bcrypt.c:234: Test failed: got 302 expected 286 bcrypt.c:234: Test failed: got 254 expected 270 bcrypt.c:234: Test failed: got 262 expected 270
=== wvistau64 (64 bit bcrypt) === bcrypt.c:234: Test failed: got 166 expected 278 bcrypt.c:234: Test failed: got 174 expected 286 bcrypt.c:234: Test failed: got 278 expected 382 bcrypt.c:234: Test failed: got 278 expected 382 bcrypt.c:234: Test failed: got 118 expected 270 bcrypt.c:234: Test failed: got 170 expected 270
=== w2008s64 (64 bit bcrypt) === bcrypt.c:234: Test failed: got 166 expected 278 bcrypt.c:234: Test failed: got 174 expected 286 bcrypt.c:234: Test failed: got 278 expected 382 bcrypt.c:234: Test failed: got 278 expected 382 bcrypt.c:234: Test failed: got 118 expected 270 bcrypt.c:234: Test failed: got 170 expected 270
=== w7pro64 (64 bit bcrypt) === bcrypt.c:234: Test failed: got 190 expected 278 bcrypt.c:234: Test failed: got 198 expected 286 bcrypt.c:234: Test failed: got 302 expected 382 bcrypt.c:234: Test failed: got 302 expected 382 bcrypt.c:234: Test failed: got 142 expected 270 bcrypt.c:234: Test failed: got 194 expected 270
=== w864 (64 bit bcrypt) === bcrypt.c:234: Test failed: got 294 expected 278 bcrypt.c:234: Test failed: got 342 expected 286 bcrypt.c:234: Test failed: got 406 expected 382 bcrypt.c:234: Test failed: got 406 expected 382 bcrypt.c:234: Test failed: got 278 expected 270 bcrypt.c:234: Test failed: got 278 expected 270
=== w1064 (64 bit bcrypt) === bcrypt.c:234: Test failed: got 310 expected 278 bcrypt.c:234: Test failed: got 310 expected 286 bcrypt.c:234: Test failed: got 406 expected 382 bcrypt.c:234: Test failed: got 406 expected 382 bcrypt.c:234: Test failed: got 294 expected 270 bcrypt.c:234: Test failed: got 294 expected 270