diff options
Diffstat (limited to 'cryptlib.h')
-rw-r--r-- | cryptlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -381,6 +381,9 @@ public: protected: void ThrowIfInvalidKeyLength(const Algorithm &algorithm, unsigned int length); + void ThrowIfResynchronizable(); // to be called when no IV is passed + void ThrowIfInvalidIV(const byte *iv); // check for NULL IV if it can't be used + const byte * GetIVAndThrowIfInvalid(const NameValuePairs ¶ms); inline void AssertValidKeyLength(unsigned int length) const { |