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:
Catherine Vlasov
2024-11-15 14:38:40 +00:00
parent b9c1291dfb
commit a5439fd7a5

View File

@@ -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());