mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "KM 4 test fix Root-of-Trust parsing" into udc-dev am: 0638c50994
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23417822 Change-Id: Idb7318c6f5d604486aa42bbcd033629526f1d027 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