mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "KeyMint: Test invalid AES key sizes" am: bb0ab83af8 am: 7770509519
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1893476 Change-Id: I961b8dcb28198b8d433b9b274b6a38019fbd7047
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user