diff options
author | Eran Messeri <eranm@google.com> | 2021-06-08 11:38:31 +0100 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2021-06-08 11:42:54 +0100 |
commit | cb238ffdad120424ebf23226c7ad5309f64b1e8e (patch) | |
tree | e6367af6184762adabad9c3ff55b04edec56edbc /identity/support/src/cppbor_parse.cpp | |
parent | f3374d4237151f05d4251d7cb0ce072a6cf34a36 (diff) |
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
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions