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

Commit d72b3517 authored by Prashant Patil's avatar Prashant Patil
Browse files

KeyMint: Test invalid AES key sizes

Added invalid AES key sizes to be tested for Default and TEE based
Keymint implementations.

Bug: 205679497
Test: run vts -m VtsAidlKeyMintTargetTest
Change-Id: Id9044cdc0324258c15f1daa81487c7819a780fe8
parent 4915df85
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1067,6 +1067,8 @@ vector<uint32_t> KeyMintAidlTestBase::InvalidKeySizes(Algorithm algorithm) {
        }
    } else {
        switch (algorithm) {
            case Algorithm::AES:
                return {64, 96, 131, 512};
            case Algorithm::TRIPLE_DES:
                return {56};
            default: