diff options
author | lloyd <[email protected]> | 2009-12-29 20:07:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-29 20:07:02 +0000 |
commit | 1613452fd47f1dd3012db18013403a10cf517d18 (patch) | |
tree | 9a3be545cf98f79119aa8ab0b625a8cc75a9bba7 /src/block/block_cipher.h | |
parent | fdd760200801d59f3db7dbb2118201734692c694 (diff) |
Add doxygen comments
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r-- | src/block/block_cipher.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h index e97eebf0f..06e8c5cea 100644 --- a/src/block/block_cipher.h +++ b/src/block/block_cipher.h @@ -59,8 +59,21 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm */ void decrypt(byte block[]) const { decrypt_n(block, block, 1); } + /** + * Encrypt one or more blocks + * @param in the input buffer (multiple of BLOCK_SIZE) + * @param out the output buffer (same size as in) + * @param blocks the number of blocks to process + */ virtual void encrypt_n(const byte in[], byte out[], u32bit blocks) const = 0; + + /** + * Decrypt one or more blocks + * @param in the input buffer (multiple of BLOCK_SIZE) + * @param out the output buffer (same size as in) + * @param blocks the number of blocks to process + */ virtual void decrypt_n(const byte in[], byte out[], u32bit blocks) const = 0; |