diff options
author | lloyd <[email protected]> | 2009-11-10 05:40:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-10 05:40:36 +0000 |
commit | 651c74a712a52095206a9a7dea547c6b56b036d8 (patch) | |
tree | 2ca7a6713a8170bd3b6a207a88ca0e5c5fefb999 /src/block | |
parent | efb27197897d2873289bc4e1089385421171076b (diff) |
Make the AES implementation using Intel's AES instruction extension official;
testing with Intel's emulator shows all green.
Diffstat (limited to 'src/block')
-rw-r--r-- | src/block/aes_intel/aes_intel.cpp | 10 | ||||
-rw-r--r-- | src/block/aes_intel/aes_intel.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/block/aes_intel/aes_intel.cpp b/src/block/aes_intel/aes_intel.cpp index 057728e72..fb71a5d89 100644 --- a/src/block/aes_intel/aes_intel.cpp +++ b/src/block/aes_intel/aes_intel.cpp @@ -1,6 +1,6 @@ /** -* AES -* (C) 1999-2009 Jack Lloyd +* AES using Intel's AES-NI instructions +* (C) 2009 Jack Lloyd * * Distributed under the terms of the Botan license */ @@ -24,7 +24,7 @@ __m128i aes_128_key_expansion(__m128i key, __m128i key_with_rcon) } /** -* AES Encryption +* AES-128 Encryption */ void AES_128_Intel::encrypt_n(const byte in[], byte out[], u32bit blocks) const { @@ -70,7 +70,7 @@ void AES_128_Intel::encrypt_n(const byte in[], byte out[], u32bit blocks) const } /** -* AES Decryption +* AES-128 Decryption */ void AES_128_Intel::decrypt_n(const byte in[], byte out[], u32bit blocks) const { @@ -116,7 +116,7 @@ void AES_128_Intel::decrypt_n(const byte in[], byte out[], u32bit blocks) const } /** -* AES Key Schedule +* AES-128 Key Schedule */ void AES_128_Intel::key_schedule(const byte key[], u32bit length) { diff --git a/src/block/aes_intel/aes_intel.h b/src/block/aes_intel/aes_intel.h index 90270939c..052b37bb2 100644 --- a/src/block/aes_intel/aes_intel.h +++ b/src/block/aes_intel/aes_intel.h @@ -1,6 +1,6 @@ /** -* AES using Intel's AES instructions -* (C) 1999-2009 Jack Lloyd +* AES using Intel's AES-NI instructions +* (C) 2009 Jack Lloyd * * Distributed under the terms of the Botan license */ |