summaryrefslogtreecommitdiff
path: root/tests/run_rsa_tests.sh
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@google.com>2010-02-24 16:41:32 -0800
committerGaurav Shah <gauravsh@google.com>2010-02-24 16:41:32 -0800
commit7d122e2a47145ef535163744daa55cec54e12b16 (patch)
treef1fcfb7abb6e10729ec5a6631e3e205ef99d391c /tests/run_rsa_tests.sh
parent08df9b88a36b7a351305a06b2849c5fcdac54135 (diff)
downloadvboot-7d122e2a47145ef535163744daa55cec54e12b16.tar.gz
Add a test for RSA PKCS #1 v1.5 signature verification.
This test checks that signatures with improper padding do not get accepted by the RSA signature verification implementation. Review URL: http://codereview.chromium.org/661038
Diffstat (limited to 'tests/run_rsa_tests.sh')
-rwxr-xr-xtests/run_rsa_tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run_rsa_tests.sh b/tests/run_rsa_tests.sh
index 422bf73d..2196ddd7 100755
--- a/tests/run_rsa_tests.sh
+++ b/tests/run_rsa_tests.sh
@@ -69,6 +69,8 @@ function test_verification {
let algorithmcounter=algorithmcounter+1
done
done
+ echo -e "Peforming ${COL_YELLOW}PKCS #1 v1.5 Padding Tests${COL_STOP}..."
+ ${TEST_DIR}/rsa_padding_test ${TEST_DIR}/testkeys/rsa_padding_test_pubkey.keyb
}
function pre_work {