Merge "KeyMint: Test invalid AES key sizes"

This commit is contained in:
Treehugger Robot
2021-12-01 13:48:57 +00:00
committed by Gerrit Code Review

View File

@@ -1067,6 +1067,8 @@ vector<uint32_t> KeyMintAidlTestBase::InvalidKeySizes(Algorithm algorithm) {
} }
} else { } else {
switch (algorithm) { switch (algorithm) {
case Algorithm::AES:
return {64, 96, 131, 512};
case Algorithm::TRIPLE_DES: case Algorithm::TRIPLE_DES:
return {56}; return {56};
default: default: