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

Commit 88a376b0 authored by Baranidharan Muthukumaran's avatar Baranidharan Muthukumaran Committed by Max Bires
Browse files

Fix KM VTS tests for Strongbox implementations



Modify RSA keysize used in various tests
to ensure both TEE and Strongbox implementations
can be validated.
Skip invalid keysizes that Strongbox does not
support.

Test: Patches the strongbox tests
Bug: 112189538
Change-Id: I46ab01ce9b8224403e2a334a894967761d6799c9
Signed-off-by: default avatarMax Bires <jbires@google.com>
parent 6b4eb0e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -651,6 +651,8 @@ std::vector<uint32_t> KeymasterHidlTest::InvalidKeySizes(Algorithm algorithm) {
            return {3072, 4096};
            return {3072, 4096};
        case Algorithm::EC:
        case Algorithm::EC:
            return {224, 384, 521};
            return {224, 384, 521};
        case Algorithm::AES:
            return {192};
        default:
        default:
            return {};
            return {};
    }
    }
+49 −45

File changed.

Preview size limit exceeded, changes collapsed.