From 2779fc60506e2042ab1569ffad4061f1187d186c Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 12 Mar 2009 11:24:12 +0000 Subject: - add EAX mode, XSalsa20 - speed up GCM key setup - wipe stack in AES assembly code - speed up CFB mode --- strciphr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strciphr.h') diff --git a/strciphr.h b/strciphr.h index d4ad79a2..d1d11a17 100644 --- a/strciphr.h +++ b/strciphr.h @@ -168,7 +168,7 @@ public: virtual byte * GetRegisterBegin() =0; virtual void TransformRegister() =0; virtual bool CanIterate() const {return false;} - virtual void Iterate(byte *output, const byte *input, CipherDir dir, size_t iterationCount) {assert(false);} + virtual void Iterate(byte *output, const byte *input, CipherDir dir, size_t iterationCount) {assert(false); throw 0;} virtual void CipherSetKey(const NameValuePairs ¶ms, const byte *key, size_t length) =0; virtual void CipherResynchronize(const byte *iv, size_t length) {throw NotImplemented("SimpleKeyingInterface: this object doesn't support resynchronization");} }; -- cgit v1.2.1