aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-10 07:39:52 +0000
committerlloyd <[email protected]>2009-11-10 07:39:52 +0000
commit743014387833eb52e71fc9d4381e2a546e80f158 (patch)
tree2d96541d1d00e5e0a16476e1cccbddf5380689d4 /src/engine
parent7e50031d49653e3d76cd972e5909eab1795e248a (diff)
Rename CPUID::has_intel_aes to has_aes_intel, and add CPUID::has_aes_via,
which is currently just a stub returning false.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/aes_isa_eng/aes_isa_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/aes_isa_eng/aes_isa_engine.cpp b/src/engine/aes_isa_eng/aes_isa_engine.cpp
index fd36feb2f..bbbdd288e 100644
--- a/src/engine/aes_isa_eng/aes_isa_engine.cpp
+++ b/src/engine/aes_isa_eng/aes_isa_engine.cpp
@@ -23,7 +23,7 @@ AES_ISA_Engine::find_block_cipher(const SCAN_Name& request,
Algorithm_Factory&) const
{
#if defined(BOTAN_HAS_AES_INTEL)
- if(CPUID::has_intel_aes())
+ if(CPUID::has_aes_intel())
{
if(request.algo_name() == "AES-128")
return new AES_128_Intel;
@@ -37,7 +37,7 @@ AES_ISA_Engine::find_block_cipher(const SCAN_Name& request,
#endif
#if defined(BOTAN_HAS_AES_VIA)
- if(CPUID::has_via_aes())
+ if(CPUID::has_aes_via())
{
if(request.algo_name() == "AES-128")
return new AES_128_VIA;