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

Commit 0ab832f0 authored by Catherine Vlasov's avatar Catherine Vlasov Committed by Automerger Merge Worker
Browse files

Merge "Correct comment about Verified Boot key on devices with custom root of...

Merge "Correct comment about Verified Boot key on devices with custom root of trust." into main am: 78ade929 am: 8c30ff23

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3349134



Change-Id: I95c915d38d85f4f3630d1c64095b9eb34bda2889
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1da89ad7 8c30ff23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1904,7 +1904,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());