3 # run symmteric performance tests on all algorithms.
6 echo Usage
: doPerformRaw iterations bufsize
15 # ASC doesn't work due to different ptext/ctext size
16 # RC4 skipped because it generates ctext==ptext if iterations is even
18 .
/performRaw
$ITER $BUFSIZE a
=d
19 .
/performRaw
$ITER $BUFSIZE a
=d e
20 .
/performRaw
$ITER $BUFSIZE a
=3
21 .
/performRaw
$ITER $BUFSIZE a
=3 e
22 .
/performRaw
$ITER $BUFSIZE a
=2
23 .
/performRaw
$ITER $BUFSIZE a
=2 e
24 .
/performRaw
$ITER $BUFSIZE a
=4
25 .
/performRaw
$ITER $BUFSIZE a
=5
26 .
/performRaw
$ITER $BUFSIZE a
=5 e
27 .
/performRaw
$ITER $BUFSIZE a
=a
28 .
/performRaw
$ITER $BUFSIZE a
=a e
29 .
/performRaw
$ITER $BUFSIZE a
=b
30 .
/performRaw
$ITER $BUFSIZE a
=b e
31 .
/performRaw
$ITER $BUFSIZE a
=c
32 .
/performRaw
$ITER $BUFSIZE a
=c e