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

Commit 7e03f98b authored by Janis Danisevskis's avatar Janis Danisevskis
Browse files

Software keymaster attestations return 3 as keymaster version

Bug: 67358942
Bug: 67359348
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: Ia04a55b407343ddddd4467c401ee2556e8fe9bd9
parent 1235d348
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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()) {