Merge "KeyMint VTS: Expect empty key if boot state unverfied" am: a26f8cb316
am: 39f920bae3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2014678 Change-Id: I09c96b1e9df172a76e1747f4b6687bd4211146ea
This commit is contained in:
commit
c18ed24712
1 changed files with 1 additions and 1 deletions
|
@ -1619,7 +1619,7 @@ bool verify_attestation_record(int32_t aidl_version, //
|
||||||
EXPECT_EQ(verified_boot_state, VerifiedBoot::FAILED);
|
EXPECT_EQ(verified_boot_state, VerifiedBoot::FAILED);
|
||||||
} else {
|
} else {
|
||||||
EXPECT_EQ(verified_boot_state, VerifiedBoot::UNVERIFIED);
|
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()));
|
verified_boot_key.size()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue