Software keymaster attestations return 3 as keymaster version

Bug: 67358942
Bug: 67359348
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: Ia04a55b407343ddddd4467c401ee2556e8fe9bd9
This commit is contained in:
Janis Danisevskis 2017-07-27 12:44:26 -07:00
parent 1235d348e6
commit 7e03f98bd2

View file

@ -993,8 +993,8 @@ bool verify_attestation_record(const string& challenge, const string& app_id,
HidlBuf(app_id));
if (!KeymasterHidlTest::IsSecure()) {
// SW is KM2
EXPECT_EQ(att_keymaster_version, 2U);
// SW is KM3
EXPECT_EQ(att_keymaster_version, 3U);
}
if (KeymasterHidlTest::SupportsSymmetric()) {