3 # run symmteric performance tests on all algorithms.
6 echo Usage
: doPerform 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 .
/perform
$ITER $BUFSIZE a
=d
19 .
/perform
$ITER $BUFSIZE a
=d e
20 .
/perform
$ITER $BUFSIZE a
=3
21 .
/perform
$ITER $BUFSIZE a
=3 e
22 .
/perform
$ITER $BUFSIZE a
=2
23 .
/perform
$ITER $BUFSIZE a
=2 e
24 .
/perform
$ITER $BUFSIZE a
=5
25 .
/perform
$ITER $BUFSIZE a
=5 e
26 .
/perform
$ITER $BUFSIZE a
=a
27 .
/perform
$ITER $BUFSIZE a
=a e
28 .
/perform
$ITER $BUFSIZE a
=b
29 .
/perform
$ITER $BUFSIZE a
=b e
30 .
/perform
$ITER $BUFSIZE a
=c
31 .
/perform
$ITER $BUFSIZE a
=c e