Removed test define from rdrand.cpp

The library should use the intrinsics if they are available. This change should have been included with Commit 14d92f9eba81191e.
This commit is contained in:
Jeffrey Walton 2017-03-07 04:39:08 -05:00
parent 14d92f9eba
commit 585b23d7b1
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 4 additions and 7 deletions

View File

@ -42,14 +42,14 @@
#if defined(CRYPTOPP_CPUID_AVAILABLE)
# if defined(CRYPTOPP_MSC_VERSION)
# if (CRYPTOPP_MSC_VERSION >= 1700)
# define MASM_RDRAND_ASM_AVAILABLE 1
// # define ALL_RDRAND_INTRIN_AVAILABLE 1
// # define MASM_RDRAND_ASM_AVAILABLE 1
# define ALL_RDRAND_INTRIN_AVAILABLE 1
# else
# define MASM_RDRAND_ASM_AVAILABLE 1
# endif
# if (CRYPTOPP_MSC_VERSION >= 1800)
# define MASM_RDSEED_ASM_AVAILABLE 1
// # define ALL_RDSEED_INTRIN_AVAILABLE 1
// # define MASM_RDSEED_ASM_AVAILABLE 1
# define ALL_RDSEED_INTRIN_AVAILABLE 1
# else
# define MASM_RDSEED_ASM_AVAILABLE 1
# endif

View File

@ -128,9 +128,6 @@ public:
// Override to avoid the base class' throw.
CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
}
private:
unsigned int m_retries;
};
NAMESPACE_END