summaryrefslogtreecommitdiff
path: root/strciphr.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-12 11:24:12 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-12 11:24:12 +0000
commit2779fc60506e2042ab1569ffad4061f1187d186c (patch)
tree68edc0bccf003f5615716b3ae2d6b97067af39c4 /strciphr.h
parent64af4560dc8ba66ef0e2ac3b05dec6f445ec96fe (diff)
downloadcryptopp-git-2779fc60506e2042ab1569ffad4061f1187d186c.tar.gz
- add EAX mode, XSalsa20
- speed up GCM key setup - wipe stack in AES assembly code - speed up CFB mode
Diffstat (limited to 'strciphr.h')
-rw-r--r--strciphr.h2
1 files changed, 1 insertions, 1 deletions
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 &params, 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");}
};