[PATCH 1/2] bcrypt: Synchronize symmetric key access for encrypt and decrypt.
Hans Leidekker
hans at codeweavers.com
Tue Apr 20 08:13:33 CDT 2021
On Tue, 2021-04-20 at 13:48 +0300, Paul Gofman wrote:
> Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
> ---
> Forza Horizon 4 crashes during entering multiplayer mode due to BCryptEncrypt and
> BCryptDecrypt being used from different threads with the same key using MODE_ID_GCM.
> Most of the time that is either glinc free() assertion or segfault inside gnutls function.
>
> While bcrypt functions are probably not thread safe in general on Windows, I suppose
> the native implementation does not modify any key data in encrypt and decrypt
> in this mode.
Are you referring to the late initialization of the GnuTLS cipher or
does this happen entirely within GnuTLS code?
More information about the wine-devel
mailing list