diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-26 08:36:38 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-26 08:36:38 +0000 |
commit | dc6a6775f1cfffaad410d8d8e809203685087365 (patch) | |
tree | 921d14186d3d4a3f1d1bad05056a40821ce6e8b6 /bench.cpp | |
parent | af9ded005a3ee211469f88ece35cccf998603e11 (diff) | |
download | cryptopp-dc6a6775f1cfffaad410d8d8e809203685087365.tar.gz |
fix exception
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@116 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'bench.cpp')
-rw-r--r-- | bench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -373,7 +373,7 @@ template <class T> void BenchMarkKeyed(const char *name, double timeTotal, T *x=NULL) { T c; - c.SetKeyWithIV(key, c.DefaultKeyLength(), key); + c.SetKey(key, c.DefaultKeyLength(), MakeParameters(Name::IV(), key, false)); BenchMark(name, c, timeTotal); } @@ -382,7 +382,7 @@ template <class T> void BenchMarkKeyedVariable(const char *name, double timeTotal, unsigned int keyLength, T *x=NULL) { T c; - c.SetKeyWithIV(key, keyLength, key); + c.SetKey(key, keyLength, MakeParameters(Name::IV(), key, false)); BenchMark(name, c, timeTotal); } |