summaryrefslogtreecommitdiff
path: root/tests/run_rsa_tests.sh
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@google.com>2010-02-17 16:37:33 -0800
committerGaurav Shah <gauravsh@google.com>2010-02-17 16:37:33 -0800
commit52898d3c268e1cdb695b1c9a25fb4190d84a24f8 (patch)
tree466246ec78ca4493292d3776bc6e04abc0d42fa6 /tests/run_rsa_tests.sh
parent27bfc8be07935ccb0dab251c5d084c64830163c2 (diff)
downloadvboot-52898d3c268e1cdb695b1c9a25fb4190d84a24f8.tar.gz
Vboot Reference: Add a RSA verify benchmark.
In addtion, add test cases and a script to generate them for benchmarking. Also fixes a path problem with the run_rsa_tests.sh script. Review URL: http://codereview.chromium.org/626011
Diffstat (limited to 'tests/run_rsa_tests.sh')
-rwxr-xr-xtests/run_rsa_tests.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/run_rsa_tests.sh b/tests/run_rsa_tests.sh
index 20384836..2aa74263 100755
--- a/tests/run_rsa_tests.sh
+++ b/tests/run_rsa_tests.sh
@@ -55,9 +55,11 @@ function test_verification {
for hashalgo in ${hash_algos[@]}
do
echo -e "For ${COL_YELLOW}RSA-$keylen and $hashalgo${COL_STOP}:"
- cd ${UTIL_DIR} && ${TEST_DIR}/firmware_image_tests $algorithmcounter testkeys/key_rsa8192.pem \
- testkeys/key_rsa8192.keyb testkeys/key_rsa${keylen}.pem \
- testkeys/key_rsa${keylen}.keyb
+ cd ${UTIL_DIR} && ${TEST_DIR}/firmware_image_tests $algorithmcounter \
+ ${TEST_DIR}/testkeys/key_rsa8192.pem \
+ ${TEST_DIR}/testkeys/key_rsa8192.keyb \
+ ${TEST_DIR}/testkeys/key_rsa${keylen}.pem \
+ ${TEST_DIR}/testkeys/key_rsa${keylen}.keyb
let algorithmcounter=algorithmcounter+1
done
done