mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
Handle software keymaster implementations.
Test: VtsHalKeymasterV3_0TargetTest Change-Id: I0ca923fab3e312c576abc2f51f6dd28482176db7
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user