mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
In Keymaster 3, both INVALID_INPUT_LENGTH and INVALID_ARGUMENT were acceptable for oversized messages. Keymaster 4 VTS requires that INVALID_ARGUMENT be returned, but the spec has no such restriction. This loosens VTS to allow either INVALID_INPUT_LENGTH or INVALID_ARGUMENT in this case. Bug: 129297054 Test: atest VtsHalKeymasterV4_0TargetTest Pixel 3, Trusty tests