diff options
author | lloyd <[email protected]> | 2010-10-12 15:49:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 15:49:54 +0000 |
commit | c46a5e8d3dd8f07a92fc90027e6f7f70b989ea47 (patch) | |
tree | d2c6a7cb8f675d1121f0bf0800effca7298338cc /src/block/block_cipher.h | |
parent | a263ae6b9cfb5e93e3f446bd736ab3f86ba3c681 (diff) |
s/u32bit/size_t/ for block cipher parallelism queries
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r-- | src/block/block_cipher.h | 4 |
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; } |