diff options
author | lloyd <[email protected]> | 2008-11-21 18:12:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-21 18:12:08 +0000 |
commit | e5f7085f03c816e7e44530997cd507705de34955 (patch) | |
tree | 1979341d27c6993719595c61bab053e21ab538ce /src/block/block_cipher.h | |
parent | 41a52cf998e798f5ebf73d5e3e3549d4152e546e (diff) |
Add comment showing likely future API for multi-block encryption in BlockCipher
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r-- | src/block/block_cipher.h | 6 |
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 { |