aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-05-19 12:30:20 -0400
committerJack Lloyd <[email protected]>2017-05-19 12:30:20 -0400
commit7d1bef2a8fa081f9896eebbba6ae37e273c91099 (patch)
tree2a1bfad548b91757d7373a83cff67ae7c94810a9 /src/cli/speed.cpp
parentb0fbcf8d24fb1c677aad3d2cfdd0c18274493f07 (diff)
parent7f019174bfcf3c2b31bda74fe40ce35727db1cef (diff)
Merge GH #826 Add support for Intel SHA instructions
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r--src/cli/speed.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 30a01a934..58f12ef92 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -434,6 +434,8 @@ class Speed final : public Command
Botan::CPUID::clear_cpuid_bit(Botan::CPUID::CPUID_AVX2_BIT);
else if(cpuid_to_clear == "sse2")
Botan::CPUID::clear_cpuid_bit(Botan::CPUID::CPUID_SSE2_BIT);
+ else if(cpuid_to_clear == "sha")
+ Botan::CPUID::clear_cpuid_bit(Botan::CPUID::CPUID_SHA_BIT);
#endif
}