diff options
author | David Drysdale <drysdale@google.com> | 2021-03-31 16:14:31 +0100 |
---|---|---|
committer | David Drysdale <drysdale@google.com> | 2021-03-31 18:08:59 +0100 |
commit | f6fc5a63363d94e2ac2f3460ad852e0c737c9b1e (patch) | |
tree | 6a3dd25313e474f27f4b492fcc05103947872933 /security/keymint/support/cppcose.cpp | |
parent | b39baeaa928e645cc6bc15498119caf8f853df81 (diff) |
Fix DeviceInfo encoding and checks
- Make the default implementation include the DeviceInfo as a map, not
a bstr-holding-a-map, to match the spec.
- Check the signature of the signed MAC even in test mode.
- Include the DeviceInfo in the data that the signature covers.
Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I9084343c1273c16a9cbd5a1156e7057a1c54a860
Diffstat (limited to 'security/keymint/support/cppcose.cpp')
0 files changed, 0 insertions, 0 deletions