summaryrefslogtreecommitdiff
path: root/rc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'rc2.h')
-rw-r--r--rc2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc2.h b/rc2.h
index 90c2a060..ebff798f 100644
--- a/rc2.h
+++ b/rc2.h
@@ -25,6 +25,7 @@ class RC2 : public RC2_Info, public BlockCipherDocumentation
{
public:
void UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &params);
+ unsigned int OptimalDataAlignment() const {return GetAlignmentOf<word16>();}
protected:
FixedSizeSecBlock<word16, 64> K; // expanded key table