538e5c075eef8afc2e51d905c6909028ba6fa508
[samba.git] / source4 / heimdal / lib / hcrypto / libtommath / logs / graphs.dem
1 set terminal png
2 set ylabel "Cycles per Operation"
3 set xlabel "Operand size (bits)"
4
5 set output "addsub.png"
6 plot 'add.log' smooth bezier title "Addition", 'sub.log' smooth bezier title "Subtraction"
7
8 set output "mult.png"
9 plot 'sqr.log' smooth bezier title "Squaring (without Karatsuba)", 'sqr_kara.log' smooth bezier title "Squaring (Karatsuba)", 'mult.log' smooth bezier title "Multiplication (without Karatsuba)", 'mult_kara.log' smooth bezier title "Multiplication (Karatsuba)"
10
11 set output "expt.png"
12 plot 'expt.log' smooth bezier title "Exptmod (Montgomery)", 'expt_dr.log' smooth bezier title "Exptmod (Dimminished Radix)", 'expt_2k.log' smooth bezier title "Exptmod (2k Reduction)"
13
14 set output "invmod.png"
15 plot 'invmod.log' smooth bezier title "Modular Inverse"
16