Merge "Require keymaster4 attestations to contain the right version." into pi-dev am: 4046722d02

am: 375552ab57

Change-Id: If5ebeaa6792d0f648c847247c6e96e0d99c30b33
This commit is contained in:
Shawn Willden
2018-08-02 14:46:29 -07:00
committed by android-build-merger

View File

@@ -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);