]> git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/sslThroughput/runSslThroughput
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / clxutils / sslThroughput / runSslThroughput
1 #! /bin/csh -f
2 #
3 # Run sslThroughput with common ciphers and protocols
4 #
5 # Feed it arbitrary args which will be emitted as is to get an annotated output.
6 #
7 set COMMENT_STRING="SSL Throughput Tests:"
8 while ( $#argv > 0 )
9 set COMMENT_STRING="$COMMENT_STRING $argv[1]"
10 shift
11 end
12 echo $COMMENT_STRING
13 # AES
14 $LOCAL_BUILD_DIR/sslThroughput -c a -v t -w localcert || exit(1)
15 $LOCAL_BUILD_DIR/sslThroughput -c a -v 3 || exit(1)
16 # RC4
17 $LOCAL_BUILD_DIR/sslThroughput -c r -v t || exit(1)
18 $LOCAL_BUILD_DIR/sslThroughput -c r -v 3 || exit(1)
19 # DES
20 $LOCAL_BUILD_DIR/sslThroughput -c d -v t || exit(1)
21 $LOCAL_BUILD_DIR/sslThroughput -c d -v 3 || exit(1)
22 # Triple DES
23 $LOCAL_BUILD_DIR/sslThroughput -c D -v t || exit(1)
24 $LOCAL_BUILD_DIR/sslThroughput -c D -v 3 || exit(1)
25 # AES256
26 $LOCAL_BUILD_DIR/sslThroughput -c A -v t || exit(1)
27 $LOCAL_BUILD_DIR/sslThroughput -c A -v 3 || exit(1)