mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-17 20:46:54 +02:00
Scale back Salsa20 benchmark a bit to not take too long on slow boxes.
This commit is contained in:
parent
12692c551e
commit
49ef980ecf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue