mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-13 19:37:10 +00:00
host_key2: Add VB2_SIG_ALG_COUNT to count the number of valid signatures
More reliable than simply assuming that VB2_SIG_RSA8192 is the last signature. BRANCH=none BUG=chromium:684354 TEST=rm tests/testkeys/key_*; make genkeys -j TEST=make runtests -j Change-Id: I755b3afb50313fcdf292fb3cd5b0dfe09f8593e3 Reviewed-on: https://chromium-review.googlesource.com/438948 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
c7282f6bdc
commit
8c53e881f8
@@ -44,6 +44,9 @@ enum vb2_signature_algorithm {
|
||||
VB2_SIG_RSA2048 = 3,
|
||||
VB2_SIG_RSA4096 = 4,
|
||||
VB2_SIG_RSA8192 = 5,
|
||||
|
||||
/* Last index. Don't add anything below. */
|
||||
VB2_SIG_ALG_COUNT,
|
||||
};
|
||||
|
||||
/* Algorithm types for hash digests */
|
||||
|
||||
Reference in New Issue
Block a user