aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/block_cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r--src/block/block_cipher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h
index c1b58996e..67a989822 100644
--- a/src/block/block_cipher.h
+++ b/src/block/block_cipher.h
@@ -42,12 +42,12 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
/**
* @return native parallelism of this cipher in blocks
*/
- virtual u32bit parallelism() const { return 1; }
+ virtual size_t parallelism() const { return 1; }
/**
* @return prefererred parallelism of this cipher in bytes
*/
- u32bit parallel_bytes() const
+ size_t parallel_bytes() const
{
return parallelism() * BLOCK_SIZE * BOTAN_BLOCK_CIPHER_PAR_MULT;
}