From afa1f82524d11574f19a713b16fe2809b4665db4 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 27 Jul 2010 13:29:32 +0000 Subject: Add support in CPUID for detecting PCMULUDQ and MOVBE instructions. Rename CPUID::has_aes_intel to has_aes_ni. --- src/engine/aes_isa_eng/aes_isa_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/aes_isa_eng') 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; -- cgit v1.2.3