diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-15 21:02:56 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-15 21:02:56 -0400 |
commit | 49ef980ecf7b435d2cb65093254983bfa0441b1f (patch) | |
tree | 4a9a459fe337f1cec7ce90f717a788e2e632853b | |
parent | 12692c551ea89e33e1ade02c2432da34a320856b (diff) | |
download | infinitytier-49ef980ecf7b435d2cb65093254983bfa0441b1f.tar.gz infinitytier-49ef980ecf7b435d2cb65093254983bfa0441b1f.zip |
Scale back Salsa20 benchmark a bit to not take too long on slow boxes.
-rw-r--r-- | selftest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest.cpp b/selftest.cpp index 9d67ea48..7d459774 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -178,7 +178,7 @@ static int testCrypto() Salsa20 s20(s20TV0Key,256,s20TV0Iv,12); double bytes = 0.0; uint64_t start = Utils::now(); - for(unsigned int i=0;i<1000;++i) { + for(unsigned int i=0;i<200;++i) { s20.encrypt(bb,bb,1234567); bytes += 1234567.0; } |