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

Commit 39f920ba authored by Tri Vo's avatar Tri Vo Committed by Automerger Merge Worker
Browse files

Merge "KeyMint VTS: Expect empty key if boot state unverfied" am: a26f8cb3

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

Change-Id: Ib537d307ffe6e764cc0737c8fab0b8944808f4ef
parents 96d037bf a26f8cb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1619,7 +1619,7 @@ bool verify_attestation_record(int32_t aidl_version, //
        EXPECT_EQ(verified_boot_state, VerifiedBoot::FAILED);
    } else {
        EXPECT_EQ(verified_boot_state, VerifiedBoot::UNVERIFIED);
        EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(),
        EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(),
                            verified_boot_key.size()));
    }