commit | a2f358ac43428ffe8d69a72af250bdb5eacc6448 | [log] [tgz] |
---|---|---|
author | Yi-Yo Chiang <yochiang@google.com> | Mon Jan 10 02:28:56 2022 +0800 |
committer | Yi-Yo Chiang <yochiang@google.com> | Tue Jan 11 17:48:52 2022 +0800 |
tree | 408e07fe3957afccf4a9cf1681605210c3d1c7c0 | |
parent | a029f02b13049e6af4e71f95eb462d69149bc737 [diff] |
Add 'LoadAndVerifyGkiBootImage()' Load a boot image into memory and checks its integrity rigorously. This helper does several things: 1. Loads the boot image into memory. 2. Check the integrity of the GKI certificate. (boot_signature) 3. Check that the AVB property descriptors in the GKI certificate are consistent with the property descriptors in the image vbmeta footer. Bug: 211741246 Test: atest vts_gki_compliance_test -v Change-Id: I3a05078018b33034d1b541d01ee00900394d75e6