diff options
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r-- | src/block/block_cipher.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h index 06e8c5cea..2d9198c58 100644 --- a/src/block/block_cipher.h +++ b/src/block/block_cipher.h @@ -24,6 +24,11 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm const u32bit BLOCK_SIZE; /** + * @return the preferred parallelism of this cipher + */ + virtual u32bit parallelism() const { return 4; } + + /** * Encrypt a block. * @param in The plaintext block to be encrypted as a byte array. * Must be of length BLOCK_SIZE. |