aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-21 18:12:08 +0000
committerlloyd <[email protected]>2008-11-21 18:12:08 +0000
commite5f7085f03c816e7e44530997cd507705de34955 (patch)
tree1979341d27c6993719595c61bab053e21ab538ce
parent41a52cf998e798f5ebf73d5e3e3549d4152e546e (diff)
Add comment showing likely future API for multi-block encryption in BlockCipher
-rw-r--r--src/block/block_cipher.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h
index 39ae1aab3..61d3c87d9 100644
--- a/src/block/block_cipher.h
+++ b/src/block/block_cipher.h
@@ -21,6 +21,12 @@ namespace Botan {
* more importantly counter mode (which most designs are moving to, due
* to the parallelism possible in counter mode which is not the case
* with feedback-based modes like CBC).
+*
+* Probable future API here:
+* virtual void encrypt_n(const byte in[], byte out[],
+* u32bit blocks) const = 0;
+* virtual void decrypt_n(const byte in[], byte out[],
+* u32bit blocks) const = 0;
*/
class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
{