https://bugs.winehq.org/show_bug.cgi?id=47432
--- Comment #4 from Patrick Hibbs hibbsncc1701@gmail.com --- (In reply to Hans Leidekker from comment #3)
Created attachment 64821 [details] patch
Looks like the size parameter is ignored for the BCRYPT_CHAINING_MODE property. Can you try this patch?
Your patch works for me.