scrypt_common: check for sse2 support the same way as everywhere else
This commit is contained in:
parent
9904e95bde
commit
88cc2c6ba5
@ -234,9 +234,7 @@ crypto_pwhash_scryptsalsa208sha256_ll(const uint8_t *passwd, size_t passwdlen,
|
||||
if (escrypt_init_local(&local)) {
|
||||
return -1; /* LCOV_EXCL_LINE */
|
||||
}
|
||||
#if defined(HAVE_EMMINTRIN_H) || \
|
||||
(defined(_MSC_VER) && \
|
||||
(defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86)))
|
||||
#if defined(HAVE_EMMINTRIN_H)
|
||||
escrypt_kdf =
|
||||
sodium_runtime_has_sse2() ? escrypt_kdf_sse : escrypt_kdf_nosse;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user