]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: vboot: add tests for multiple required keys
authorThirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Mon, 17 Aug 2020 06:01:10 +0000 (23:01 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 13 Oct 2020 01:30:37 +0000 (21:30 -0400)
commitfeaeee8b5ff59477e0372ae7b9a655ecca05b24a
tree72e7dc49aed43444f66ed0bd21a2ce62bd852b8e
parent182eeefcb439282dfe3320f4a12ab752f313f6fe
test: vboot: add tests for multiple required keys

This patch adds vboot tests to verify the support for multiple
required keys using new required-mode DTB policy.

This patch also fixes existing test where dev
key is assumed to be marked as not required, although
it is marked as required.

Note that this patch re-added sign_fit_norequire().
sign_fit_norequire() was removed as part of the following:
commit b008677daf2a ("test: vboot: Fix pylint errors").
This patch leverages sign_fit_norequire() to fix the
existing bug.

Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_vboot.py