aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/aes_isa_eng
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-10 19:27:34 +0000
committerlloyd <[email protected]>2009-11-10 19:27:34 +0000
commit1a4210926dd857eff1a862806b8c05bda919981e (patch)
tree424d3c39a46c8783998ca40aa8f021f7a5ea2914 /src/engine/aes_isa_eng
parentc3216ded9086f442f6378639de7bf5afe8c3228a (diff)
Add AES-192 using AES-NI. Tested OK with Intel's simulator.
Currently requires SSE4.1 for _mm_extract_epi32 for the key schedule, it would be nice to remove this dependency, though all currently known/scheduled chips with AES-NI (Intel Westmere and Sandy Bridge, and AMD Bulldozer) are supposed to include SSE 4.1 so this is not a huge problem.
Diffstat (limited to 'src/engine/aes_isa_eng')
-rw-r--r--src/engine/aes_isa_eng/aes_isa_engine.cpp2
1 files changed, 0 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 bbbdd288e..e57e4278d 100644
--- a/src/engine/aes_isa_eng/aes_isa_engine.cpp
+++ b/src/engine/aes_isa_eng/aes_isa_engine.cpp
@@ -27,10 +27,8 @@ AES_ISA_Engine::find_block_cipher(const SCAN_Name& request,
{
if(request.algo_name() == "AES-128")
return new AES_128_Intel;
- /*
if(request.algo_name() == "AES-192")
return new AES_192_Intel;
- */
if(request.algo_name() == "AES-256")
return new AES_256_Intel;
}