Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5439fd7 authored by Catherine Vlasov's avatar Catherine Vlasov
Browse files

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
parent b9c1291d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());