3 # A simple test runner for cryptotest
5 # Althought cryptotest itself has a -z mode to test all algorithms at
6 # a variety of sizes, this script allows us to be more selective.
7 # Threads and buffer sizes move in powers of two from 1, for threads,
8 # and 256 for buffer sizes.
10 # e.g. cryptorun.sh aes 4 512
12 # Test aes with 1, 2 and 4 processes, and at sizes of 256 and 512 bytes.
20 crypto="/tank/users/gnn/Repos/svn/FreeBSD.HEAD/tools/tools/crypto/cryptotest"
24 while [ "$threads" -le "$max_threads" ]; do
25 echo "Testing with $threads processes."
26 while [ "$size" -le "$max_size" ]; do
27 $crypto -t $threads -a $1 $iterations $size
31 threads=$(($threads * 2))