aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/aes/aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/aes/aes.h')
-rw-r--r--src/lib/block/aes/aes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/block/aes/aes.h b/src/lib/block/aes/aes.h
index 52f877e36..a74280947 100644
--- a/src/lib/block/aes/aes.h
+++ b/src/lib/block/aes/aes.h
@@ -26,6 +26,8 @@ class BOTAN_DLL AES_128 final : public Block_Cipher_Fixed_Params<16, 16>
std::string provider() const override;
std::string name() const override { return "AES-128"; }
BlockCipher* clone() const override { return new AES_128; }
+ size_t parallelism() const override;
+
private:
void key_schedule(const uint8_t key[], size_t length) override;
@@ -59,6 +61,8 @@ class BOTAN_DLL AES_192 final : public Block_Cipher_Fixed_Params<16, 24>
std::string provider() const override;
std::string name() const override { return "AES-192"; }
BlockCipher* clone() const override { return new AES_192; }
+ size_t parallelism() const override;
+
private:
#if defined(BOTAN_HAS_AES_SSSE3)
void ssse3_encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const;
@@ -93,6 +97,8 @@ class BOTAN_DLL AES_256 final : public Block_Cipher_Fixed_Params<16, 32>
std::string name() const override { return "AES-256"; }
BlockCipher* clone() const override { return new AES_256; }
+ size_t parallelism() const override;
+
private:
#if defined(BOTAN_HAS_AES_SSSE3)
void ssse3_encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const;