X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=host%2Fperformance2wiki.rb;h=a60cde153a0eb29f517586347d7743ebb0988f35;hb=302f07c97444e2f5f5560dc2fd9af58d4b591d45;hp=c1e3e2afd89b06a44e2600384046a78dece6735a;hpb=402f8b98e8bd4ca12bbac8fe6ccd07e594015a63;p=avr-crypto-lib.git diff --git a/host/performance2wiki.rb b/host/performance2wiki.rb index c1e3e2a..a60cde1 100644 --- a/host/performance2wiki.rb +++ b/host/performance2wiki.rb @@ -60,7 +60,7 @@ def process_hashfunction(fin, name) printf("| %20s || %3s || %3s || || %4d || || %4d || %4d ||" + " %6d || %6d || %7.2f || %6d || || || \n|-\n" , name, $lang, $lang ,ctxsize, hashsize, blocksize, - inittime, nextblocktime, nextblocktime.to_f/blocksize*8, + inittime, nextblocktime, nextblocktime.to_f/(blocksize/8), lastblocktime+convtime) end