commit | 67e9512b815bca81ac828e06e5a87a1f62d05233 | [log] [tgz] |
---|---|---|
author | Max Bires <jbires@google.com> | Mon Jun 21 00:20:23 2021 -0700 |
committer | Max Bires <jbires@google.com> | Tue Jun 22 19:30:11 2021 -0700 |
tree | 5c8688c25e9e029dfede7d560af3fa6e8554bec0 | |
parent | f2fa29c5558f2bbec638ab44a135350fc7d6ba49 [diff] |
Fixing CBOR parsing/serialization for prod keys. Production keys are 6 bytes smaller than test keys due to the absence of an entry in the COSE_Key map which would denote that key as a test key. (-70000, nil). This patch properly adjusts for the size difference between the two keys. Bug: 189018262 Test: Let the provisioner run. Change-Id: I9ff0c99e58a1691c8e7bdedb0cbeafb683b39722 Merged-In: I9ff0c99e58a1691c8e7bdedb0cbeafb683b39722