diff options
author | lloyd <[email protected]> | 2010-03-16 14:20:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-16 14:20:43 +0000 |
commit | 3b285e35294dfe67650063cc774d6f4e4e77b934 (patch) | |
tree | ba655f0ddbbe362db4222f121931ad40e77f2611 /checks | |
parent | 4be0c32f1715ca97f6cc85bc1905899f5cd01cef (diff) |
Fix GOST 34.10 benchmark
Diffstat (limited to 'checks')
-rw-r--r-- | checks/pk_bench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp index 9baecb4f2..3f9356b4a 100644 --- a/checks/pk_bench.cpp +++ b/checks/pk_bench.cpp @@ -361,7 +361,7 @@ void benchmark_gost_3410(RandomNumberGenerator& rng, u32bit hashbits = pbits; - if(hashbits < 160) + if(hashbits <= 192) hashbits = 160; if(hashbits == 521) hashbits = 512; |