diff options
-rw-r--r-- | doc/log.txt | 3 | ||||
-rw-r--r-- | src/utils/cpuid.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/log.txt b/doc/log.txt index d93d8da9b..cc13a63d3 100644 --- a/doc/log.txt +++ b/doc/log.txt @@ -17,6 +17,9 @@ Version 1.10.2, Not Yet Released * Add support for the rdrand instruction introduced in Intel's Ivy Bridge processors. +* CPUID::has_rdrand was checking the wrong cpuid bit, and would false + positive on AMD Bulldozer processors. + * Add the Camellia block cipher * An implementation of SRP-6a compatible with the specification in diff --git a/src/utils/cpuid.h b/src/utils/cpuid.h index ad85ac4fe..cdc6417ec 100644 --- a/src/utils/cpuid.h +++ b/src/utils/cpuid.h @@ -103,7 +103,7 @@ class BOTAN_DLL CPUID CPUID_MOVBE_BIT = 54, CPUID_AESNI_BIT = 57, CPUID_AVX_BIT = 60, - CPUID_RDRAND_BIT = 61 + CPUID_RDRAND_BIT = 62 }; static bool x86_processor_flags_has(u64bit bit) |