[Bug 46471] amd k10 keepass2 dotnet472 divide by zero in encryption

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 19 11:05:57 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46471

--- Comment #11 from Hans Leidekker <hans at meelstraat.net> ---
(In reply to noabody from comment #10)
> I like to think of the K10 cpu instruction set deficiency as:
> 
> Keepass wants it (one of the following SIMD/SSSE3/AES-NI/AVX/SSE4.1)
> Wine says it has it
> gnutls provides it
> cpu fails to process it

There's is no way to ask for a specific implementation in bcrypt. By default
GnuTLS is built with all hardware accelarated implementations that the build
host supports, as well as a software fallback implementation. GnuTLS decides at
runtime which optimized implementation will be used, based on the processor's
capabilities.

You can verify this by running Wine's bcrypt test on a machine that supports
e.g. SSSE3. The test should pass. If you set GNUTLS_CPUID_OVERRIDE=0x1
(disabling optimizations) and run the test again you should get the same
divide-by-zero exception.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list