platform_hardware_interfaces/keymaster
Eran Messeri cb238ffdad Test validity of device-unique attestation chain
Test the validity of the chain produced when device-unique attestation
is requested.

When the caller requests that the key attestation be signed using the
device-unique attestation key, the chain will look different than
a chain signed by the batch key (common case):
(1) The chain is exactly of length 2.
(2) The root is self-signed and is unique to the device.

Test that the chain is correctly signed in this change. The root is not
currently correctly self-signed, so don't test (2) yet.

Bug: 189425310
Bug: 187803288
Test: atest VtsHalKeymasterV4_1TargetTest:PerInstance/DeviceUniqueAttestationTest
Change-Id: I91578eb2b7588685cc86c467423e9394c3f3c262
2021-06-08 11:42:54 +01:00
..
3.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00
4.0 Added a new test case to validate AES algorithm with invalid key sizes. 2021-04-19 18:47:00 +01:00
4.1 Test validity of device-unique attestation chain 2021-06-08 11:42:54 +01:00
aidl aidl: Set explicit default values 2021-04-27 18:33:17 +09:00