diff options
author | Jack Lloyd <[email protected]> | 2018-06-29 14:20:39 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-29 14:20:39 -0400 |
commit | 334e170ea169117948ace86c3729f87d1a8c8fe5 (patch) | |
tree | 311b283ee847a3b3a697cd5f13dce8604884cb83 /src/lib/utils/cpuid | |
parent | 0f4c3252d14a1e87792c59673ec416e033c5e182 (diff) |
Fix handling of SHA instructions in tests
Diffstat (limited to 'src/lib/utils/cpuid')
-rw-r--r-- | src/lib/utils/cpuid/cpuid.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/cpuid/cpuid.cpp b/src/lib/utils/cpuid/cpuid.cpp index d0489cb67..3938c7242 100644 --- a/src/lib/utils/cpuid/cpuid.cpp +++ b/src/lib/utils/cpuid/cpuid.cpp @@ -150,6 +150,8 @@ CPUID::bit_from_string(const std::string& tok) return {Botan::CPUID::CPUID_BMI2_BIT}; if(tok == "adx") return {Botan::CPUID::CPUID_ADX_BIT}; + if(tok == "intel_sha") + return {Botan::CPUID::CPUID_SHA_BIT}; #elif defined(BOTAN_TARGET_CPU_IS_PPC_FAMILY) if(tok == "altivec" || tok == "simd") |