https://bugs.winehq.org/show_bug.cgi?id=46471
--- Comment #11 from Hans Leidekker hans@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.