Merge "KeyMint: Test invalid AES key sizes" am: bb0ab83af8 am: 7770509519 am: 9087d75542

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1893476

Change-Id: I17f6c1936b91df5635854989fddf79c2cd9a5faa
This commit is contained in:
Treehugger Robot
2021-12-01 14:37:15 +00:00
committed by Automerger Merge Worker

View File

@@ -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: