aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/aes_intel/aes_intel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/aes_intel/aes_intel.h')
-rw-r--r--src/block/aes_intel/aes_intel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/block/aes_intel/aes_intel.h b/src/block/aes_intel/aes_intel.h
index 164655072..239516e24 100644
--- a/src/block/aes_intel/aes_intel.h
+++ b/src/block/aes_intel/aes_intel.h
@@ -18,6 +18,8 @@ namespace Botan {
class BOTAN_DLL AES_128_Intel : public BlockCipher
{
public:
+ u32bit parallelism() const { return 8; }
+
void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
@@ -38,6 +40,8 @@ class BOTAN_DLL AES_128_Intel : public BlockCipher
class BOTAN_DLL AES_192_Intel : public BlockCipher
{
public:
+ u32bit parallelism() const { return 8; }
+
void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
@@ -58,6 +62,8 @@ class BOTAN_DLL AES_192_Intel : public BlockCipher
class BOTAN_DLL AES_256_Intel : public BlockCipher
{
public:
+ u32bit parallelism() const { return 8; }
+
void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
void decrypt_n(const byte in[], byte out[], u32bit blocks) const;