commit | 41cae56cca65e0ebc8fb134bb1b096beeb24b196 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Tue Jan 14 12:18:17 2025 +0000 |
committer | David Drysdale <drysdale@google.com> | Thu Jan 16 03:15:45 2025 -0800 |
tree | e98af72c33a727d17d2450768e859c0692430c45 | |
parent | 6208977a0c4f6700730146c550e3aa62a36a0051 [diff] |
More error codes for device unique attestation The Keymaster 4.1 spec says that "TRUSTED_ENVIRONMENT IKeymasterDevices must return ErrorCode::INVALID_ARGUMENT if they receive DEVICE_UNIQUE_ATTESTATION". However, the corresponding VTS test was expecting ErrorCode::UNIMPLEMENTED instead. Make the test cope with either error code value. Test: build Bug: 388386210 Change-Id: Iaec708422793e6a76d33d21c3e4a9b8782411c0b (cherry picked from commit 616ab3d4f80d01ff6218e6eb8d05ceea4ad96a57)