diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-03-02 17:56:46 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-16 11:25:47 -0700 |
commit | a1c5f7c006b7bb3d5894f132f70ba3bbadfd9d6b (patch) | |
tree | 9161a2024793c2859b84418702833507a4270287 /tests/rsa_padding_test.h | |
parent | 114ac2079ed5fafc8deb9cbf58b5af01e74432b1 (diff) | |
download | vboot-a1c5f7c006b7bb3d5894f132f70ba3bbadfd9d6b.tar.gz |
vboot_reference: Add support for 3072-bit exponent 3 keys
This also adds the required tests (keys, testcases), and some
additional tests in vb2_rsa_utility_tests.c that were not
added when 2048-bit exponent 3 support was added.
BRANCH=none
BUG=chromium:684354
TEST=make runtests
Change-Id: I56d22302c2254ef500b9d2d290a79d8c8bc39942
Reviewed-on: https://chromium-review.googlesource.com/449060
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'tests/rsa_padding_test.h')
-rw-r--r-- | tests/rsa_padding_test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rsa_padding_test.h b/tests/rsa_padding_test.h index 18bccd8c..bf039f5f 100644 --- a/tests/rsa_padding_test.h +++ b/tests/rsa_padding_test.h @@ -14,6 +14,7 @@ #define RSA1024NUMBYTES 128 /* 1024 bit key length */ #define RSA2048NUMBYTES 256 /* 2048 bit key length */ +#define RSA3072NUMBYTES 384 /* 3072 bit key length */ #define RSA4096NUMBYTES 512 /* 4096 bit key length */ #define RSA8192NUMBYTES 1024 /* 8192 bit key length */ |