From 194b641ebdf0a8bd8c090afc373643cba788825e Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 24 Sep 2016 23:25:58 +0200 Subject: Crypto: remove specific PBKDF2 optimization for block index encoding (except in 16-bit bootloader) in order to make code clearer and avoid bad usage in the future if this implementation is used to generate more bytes than today. --- src/Crypto/misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Crypto') diff --git a/src/Crypto/misc.h b/src/Crypto/misc.h index e7391764..31fa1187 100644 --- a/src/Crypto/misc.h +++ b/src/Crypto/misc.h @@ -85,6 +85,7 @@ #define CRYPTOPP_BYTESWAP_AVAILABLE #include #elif defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_UEFI) +#pragma intrinsic(_byteswap_ulong,_byteswap_uint64) #define CRYPTOPP_BYTESWAP_AVAILABLE #define bswap_32(x) _byteswap_ulong(x) #define bswap_64(x) _byteswap_uint64(x) -- cgit v1.2.3