diff options
Diffstat (limited to 'src/block/rc5/rc5.h')
-rw-r--r-- | src/block/rc5/rc5.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/block/rc5/rc5.h b/src/block/rc5/rc5.h index 5135336b1..385c6b2b1 100644 --- a/src/block/rc5/rc5.h +++ b/src/block/rc5/rc5.h @@ -25,7 +25,11 @@ class BOTAN_DLL RC5 : public BlockCipher std::string name() const; BlockCipher* clone() const { return new RC5(ROUNDS); } - RC5(u32bit); + /** + * @param rounds the number of RC5 rounds to run. Must be between + * 8 and 32 and a multiple of 4. + */ + RC5(u32bit rounds); private: void key_schedule(const byte[], u32bit); SecureVector<u32bit> S; |