Require KM4 attestations contain the right version
Note that devices with KM4 will fail to pass VTS after this lands, until the fix from Qualcomm arrives. Test: VtsHalKeymasterV4_0TargetTest Bug: 112040197 Bug: 80246122 Change-Id: Ie2cd917af704b9f19de3537297b3a7e4f0c861e9
This commit is contained in:
parent
7194604cd8
commit
0f2b0966c6
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ bool verify_attestation_record(const string& challenge, const string& app_id,
|
|||
|
||||
expected_sw_enforced.push_back(TAG_ATTESTATION_APPLICATION_ID, HidlBuf(app_id));
|
||||
|
||||
EXPECT_GE(att_keymaster_version, 3U);
|
||||
EXPECT_EQ(att_keymaster_version, 4U);
|
||||
EXPECT_EQ(security_level, att_keymaster_security_level);
|
||||
EXPECT_EQ(security_level, att_attestation_security_level);
|
||||
|
||||
|
|
Loading…
Reference in a new issue