]> git.saurik.com Git - apple/security.git/blob - SecurityTests/cspxutils/perform/aesPerform
Security-57031.10.10.tar.gz
[apple/security.git] / SecurityTests / cspxutils / perform / aesPerform
1 #! /bin/csh -f
2 #
3 # run symmteric performance tests on AES, all key sizes and block sizes.
4 #
5 if ( $#argv < 2 ) then
6 echo Usage: aesPerform 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 perform $ITER $BUFSIZE a=a e b=128 k=128
15 perform $ITER $BUFSIZE a=a e b=128 k=192
16 perform $ITER $BUFSIZE a=a e b=128 k=256
17 perform $ITER $BUFSIZE a=a e b=192 k=128
18 perform $ITER $BUFSIZE a=a e b=192 k=192
19 perform $ITER $BUFSIZE a=a e b=192 k=256
20 perform $ITER $BUFSIZE a=a e b=256 k=128
21 perform $ITER $BUFSIZE a=a e b=256 k=192
22 perform $ITER $BUFSIZE a=a e b=256 k=256