]> git.saurik.com Git - apple/security.git/blob - SecurityTests/cspxutils/perform/doPerform
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / cspxutils / perform / doPerform
1 #! /bin/csh -f
2 #
3 # run symmteric performance tests on all algorithms.
4 #
5 if ( $#argv < 2 ) then
6 echo Usage: doPerform iterations bufsize
7 exit(1)
8 endif
9 #
10 set ITER=$argv[1]
11 set BUFSIZE=$argv[2]
12 #
13 cd $LOCAL_BUILD_DIR
14 #
15 # ASC doesn't work due to different ptext/ctext size
16 # RC4 skipped because it generates ctext==ptext if iterations is even
17 #
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