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

Commit b56e3c30 authored by Shawn Willden's avatar Shawn Willden Committed by android-build-merger
Browse files

Handle software keymaster implementations. am: 1404b6e8 am: 66efa861

am: d6c58f73

Change-Id: I9bf48d297e9cf79a50044223fa8bbe75e51acd44
parents 1d180f81 d6c58f73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1083,7 +1083,7 @@ class NewKeyGenerationTest : public KeymasterHidlTest {
        AuthorizationSet auths(keyCharacteristics.teeEnforced);
        auths.push_back(AuthorizationSet(keyCharacteristics.softwareEnforced));

        if (!SupportsSymmetric() && asymmetric) {
        if (IsSecure() && !SupportsSymmetric() && asymmetric) {
            EXPECT_TRUE(auths.Contains(TAG_ORIGIN, KeyOrigin::UNKNOWN));
        } else {
            EXPECT_TRUE(auths.Contains(TAG_ORIGIN, KeyOrigin::GENERATED));