aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/rc2/rc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/rc2/rc2.h')
-rw-r--r--src/block/rc2/rc2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/block/rc2/rc2.h b/src/block/rc2/rc2.h
index d4ecac462..c16680347 100644
--- a/src/block/rc2/rc2.h
+++ b/src/block/rc2/rc2.h
@@ -21,7 +21,12 @@ class BOTAN_DLL RC2 : public BlockCipher
void encrypt_n(const byte in[], byte out[], u32bit blocks) const;
void decrypt_n(const byte in[], byte out[], u32bit blocks) const;
- static byte EKB_code(u32bit);
+ /**
+ * Return the code of the effective key bits
+ * @param bits key length
+ * @return EKB code
+ */
+ static byte EKB_code(u32bit bits);
void clear() { K.clear(); }
std::string name() const { return "RC2"; }