Removed test define from rdrand.cpp
The library should use the intrinsics if they are available. This change should have been included with Commit 14d92f9eba.
pull/354/merge
parent
14d92f9eba
commit
585b23d7b1
|
|
@ -42,14 +42,14 @@
|
||||||
#if defined(CRYPTOPP_CPUID_AVAILABLE)
|
#if defined(CRYPTOPP_CPUID_AVAILABLE)
|
||||||
# if defined(CRYPTOPP_MSC_VERSION)
|
# if defined(CRYPTOPP_MSC_VERSION)
|
||||||
# if (CRYPTOPP_MSC_VERSION >= 1700)
|
# if (CRYPTOPP_MSC_VERSION >= 1700)
|
||||||
# define MASM_RDRAND_ASM_AVAILABLE 1
|
// # define MASM_RDRAND_ASM_AVAILABLE 1
|
||||||
// # define ALL_RDRAND_INTRIN_AVAILABLE 1
|
# define ALL_RDRAND_INTRIN_AVAILABLE 1
|
||||||
# else
|
# else
|
||||||
# define MASM_RDRAND_ASM_AVAILABLE 1
|
# define MASM_RDRAND_ASM_AVAILABLE 1
|
||||||
# endif
|
# endif
|
||||||
# if (CRYPTOPP_MSC_VERSION >= 1800)
|
# if (CRYPTOPP_MSC_VERSION >= 1800)
|
||||||
# define MASM_RDSEED_ASM_AVAILABLE 1
|
// # define MASM_RDSEED_ASM_AVAILABLE 1
|
||||||
// # define ALL_RDSEED_INTRIN_AVAILABLE 1
|
# define ALL_RDSEED_INTRIN_AVAILABLE 1
|
||||||
# else
|
# else
|
||||||
# define MASM_RDSEED_ASM_AVAILABLE 1
|
# define MASM_RDSEED_ASM_AVAILABLE 1
|
||||||
# endif
|
# endif
|
||||||
|
|
|
||||||
3
rdrand.h
3
rdrand.h
|
|
@ -128,9 +128,6 @@ public:
|
||||||
// Override to avoid the base class' throw.
|
// Override to avoid the base class' throw.
|
||||||
CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
|
CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
unsigned int m_retries;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NAMESPACE_END
|
NAMESPACE_END
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue