aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/cpuid.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-01-05 04:30:27 +0000
committerlloyd <[email protected]>2010-01-05 04:30:27 +0000
commit968a4250218d40f3da9eee8ff50432a3169605c6 (patch)
tree8c36caf175c25ed0fa87e3b3b32eebcf486d3757 /src/utils/cpuid.h
parenta24f0bc3f513cb9d2c6dc84dab128c42313a55b8 (diff)
Remove stubs for VIA Padlock support. I have no plans to implement it
and don't even have access to a VIA with AES so could not test it anyway. If someone else wants to do it, then the implementation for AES-NI should provide a good template.
Diffstat (limited to 'src/utils/cpuid.h')
-rw-r--r--src/utils/cpuid.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/utils/cpuid.h b/src/utils/cpuid.h
index 2c9599899..1de97f129 100644
--- a/src/utils/cpuid.h
+++ b/src/utils/cpuid.h
@@ -21,7 +21,7 @@ class BOTAN_DLL CPUID
CPUID_SSSE3_BIT = 41,
CPUID_SSE41_BIT = 51,
CPUID_SSE42_BIT = 52,
- CPUID_INTEL_AES_BIT = 57,
+ CPUID_INTEL_AES_BIT = 57
};
/**
@@ -66,12 +66,6 @@ class BOTAN_DLL CPUID
{ return ((x86_processor_flags() >> CPUID_INTEL_AES_BIT) & 1); }
/**
- * Check if the processor supports VIA's AES instructions
- * (not implemented)
- */
- static bool has_aes_via() { return false; }
-
- /**
* Check if the processor supports AltiVec/VMX
*/
static bool has_altivec();