]> git.saurik.com Git - apple/security.git/blob - SecurityTests/cspxutils/performRaw/doPerformRaw
Security-57740.31.2.tar.gz
[apple/security.git] / SecurityTests / cspxutils / performRaw / doPerformRaw
1 #! /bin/csh -f
2 #
3 # run symmteric performance tests on all algorithms.
4 #
5 if ( $#argv < 2 ) then
6 echo Usage: doPerformRaw 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 ./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