diff options
author | Randall Spangler <rspangler@chromium.org> | 2016-10-18 12:00:07 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2016-11-06 02:33:02 +0000 |
commit | 46a382d6136f2fd206fd8c95180dbb816c9ad5ce (patch) | |
tree | d97739fd8373f7b3a0844fc5dc854caa9919aae3 /tests/vb2_rsa_utility_tests.c | |
parent | a03a164a76a97f3f6a60ddf18c466b38f8a77400 (diff) | |
download | vboot-46a382d6136f2fd206fd8c95180dbb816c9ad5ce.tar.gz |
vboot: Remove vboot1 cryptolib padding source
The old vboot1 cryptolib hard-coded many of its padding arrays in a
padding.c file. Use the equivalent vboot2 apis instead.
This change is almost exclusively on the host and test side; the only
firmware impact is on a single line of debug output.
BUG=chromium:611535
BRANCH=none
TEST=make runtests; emerge-kevin coreboot depthcharge
Change-Id: If689ffd92f0255847bea2424950da4547b2c0df3
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/400902
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'tests/vb2_rsa_utility_tests.c')
-rw-r--r-- | tests/vb2_rsa_utility_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vb2_rsa_utility_tests.c b/tests/vb2_rsa_utility_tests.c index 99282bf7..df603272 100644 --- a/tests/vb2_rsa_utility_tests.c +++ b/tests/vb2_rsa_utility_tests.c @@ -40,7 +40,7 @@ static void test_utils(void) .hash_alg = VB2_HASH_INVALID}; /* Verify old and new algorithm count constants match */ - TEST_EQ(kNumAlgorithms, VB2_ALG_COUNT, "Algorithm counts"); + TEST_EQ(VB2_ALG_COUNT, VB2_ALG_COUNT, "Algorithm counts"); /* Crypto algorithm to sig algorithm mapping */ TEST_EQ(vb2_crypto_to_signature(VB2_ALG_RSA1024_SHA1), |