aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/aes_isa_eng
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/aes_isa_eng')
-rw-r--r--src/engine/aes_isa_eng/aes_isa_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/aes_isa_eng/aes_isa_engine.cpp b/src/engine/aes_isa_eng/aes_isa_engine.cpp
index 682dfe6b1..7f541d583 100644
--- a/src/engine/aes_isa_eng/aes_isa_engine.cpp
+++ b/src/engine/aes_isa_eng/aes_isa_engine.cpp
@@ -19,7 +19,7 @@ AES_ISA_Engine::find_block_cipher(const SCAN_Name& request,
Algorithm_Factory&) const
{
#if defined(BOTAN_HAS_AES_INTEL)
- if(CPUID::has_aes_intel())
+ if(CPUID::has_aes_ni())
{
if(request.algo_name() == "AES-128")
return new AES_128_Intel;