mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-12-03 16:00:57 +00:00
Clear warning C4163: '_umul128' : not available as an intrinsic function
This commit is contained in:
parent
91e5844625
commit
4f64bb8eb3
10
donna_64.cpp
10
donna_64.cpp
@ -13,17 +13,17 @@
|
||||
#include "misc.h"
|
||||
#include "cpu.h"
|
||||
|
||||
// Squash MS LNK4221 and libtool warnings
|
||||
extern const char DONNA64_FNAME[] = __FILE__;
|
||||
|
||||
#if defined(CRYPTOPP_CURVE25519_64BIT)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# include <intrin.h>
|
||||
# pragma intrinsic(_umul128)
|
||||
# pragma intrinsic(__shiftright128)
|
||||
#endif
|
||||
|
||||
// Squash MS LNK4221 and libtool warnings
|
||||
extern const char DONNA64_FNAME[] = __FILE__;
|
||||
|
||||
#if defined(CRYPTOPP_CURVE25519_64BIT)
|
||||
|
||||
ANONYMOUS_NAMESPACE_BEGIN
|
||||
|
||||
using std::memcpy;
|
||||
|
@ -41,6 +41,8 @@ NAMESPACE_BEGIN(Test)
|
||||
bool ValidateAll(bool thorough)
|
||||
{
|
||||
bool pass=TestSettings();
|
||||
pass=TestCurve25519() && pass;
|
||||
pass=ValidateX25519() && pass;
|
||||
pass=TestOS_RNG() && pass;
|
||||
pass=TestRandomPool() && pass;
|
||||
#if !defined(NO_OS_DEPENDENCE) && defined(OS_RNG_AVAILABLE)
|
||||
|
Loading…
Reference in New Issue
Block a user