mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "KM 4 test fix Root-of-Trust parsing" am: 29e3465494
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2603248 Change-Id: Ifcf6ec90c19792f9957bf2a15db5d4a5c1d91cb0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -60,13 +60,9 @@ class BootloaderStateTest : public KeymasterHidlTest {
|
||||
ASSERT_TRUE(attest_rec) << "Failed to get attestation record.";
|
||||
|
||||
// Parse root of trust.
|
||||
HidlBuf verified_boot_key;
|
||||
keymaster_verified_boot_t verified_boot_state;
|
||||
bool device_locked;
|
||||
HidlBuf verified_boot_hash;
|
||||
auto result =
|
||||
parse_root_of_trust(attest_rec->data, attest_rec->length, &verified_boot_key,
|
||||
&verified_boot_state, &device_locked, &verified_boot_hash);
|
||||
auto result = parse_root_of_trust(attest_rec->data, attest_rec->length, &attestedVbKey_,
|
||||
&attestedVbState_, &attestedBootloaderState_,
|
||||
&attestedVbmetaDigest_);
|
||||
ASSERT_EQ(result, ErrorCode::OK) << "Failed to parse root of trust.";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user