aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/block_cipher.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 19:41:37 +0000
committerlloyd <[email protected]>2010-10-12 19:41:37 +0000
commitff2210b035a1598bf99e18a578ff075bece8fbe5 (patch)
tree4efe3a23daac9e2cd8b9f2b794d95089ba4cdfb2 /src/block/block_cipher.h
parente7e3af16a3540e1d7a84e085aa1ea7c55f627930 (diff)
Use size_t rather than u32bit for the blocks argument of encrypt_n
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 67a989822..8f9a4e121 100644
--- a/src/block/block_cipher.h
+++ b/src/block/block_cipher.h
@@ -95,7 +95,7 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
* @param blocks the number of blocks to process
*/
virtual void encrypt_n(const byte in[], byte out[],
- u32bit blocks) const = 0;
+ size_t blocks) const = 0;
/**
* Decrypt one or more blocks
@@ -104,7 +104,7 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
* @param blocks the number of blocks to process
*/
virtual void decrypt_n(const byte in[], byte out[],
- u32bit blocks) const = 0;
+ size_t blocks) const = 0;
/**
* Get a new object representing the same algorithm as *this