https://bugs.winehq.org/show_bug.cgi?id=47432
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- Created attachment 64821 --> https://bugs.winehq.org/attachment.cgi?id=64821 patch
Looks like the size parameter is ignored for the BCRYPT_CHAINING_MODE property. Can you try this patch?