mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Correct comment about Verified Boot key on devices with custom root of trust.
Updating the comment to match the test expectation. The attested Verified Boot key should contain the user-set root of trust if the Verified Boot state is "SelfSigned" (i.e. "yellow"). Bug: 376832222 Test: n/a (comment update) Change-Id: Ie3c43157f05e40fa42b107768af561644ff5d30f
This commit is contained in:
@@ -1812,7 +1812,7 @@ void verify_root_of_trust(const vector<uint8_t>& verified_boot_key, bool device_
|
||||
}
|
||||
}
|
||||
|
||||
// Verified boot key should be all 0's if the boot state is not verified or self signed
|
||||
// Verified Boot key should be all zeroes if the boot state is "orange".
|
||||
std::string empty_boot_key(32, '\0');
|
||||
std::string verified_boot_key_str((const char*)verified_boot_key.data(),
|
||||
verified_boot_key.size());
|
||||
|
||||
Reference in New Issue
Block a user