commit | 8d6e82c64276cac7fac72e13495a414cc9f17998 | [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:32:05 2021 -0700 |
tree | 32ba139c1041d3af455873570b5ed35e570c0e66 | |
parent | fb5ccb755884ff1fc1a32c80ebea32e249ced9db [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. Ignore-AOSP-First: CP from AOSP to SC-Dev Bug: 189018262 Test: Let the provisioner run. Change-Id: I9ff0c99e58a1691c8e7bdedb0cbeafb683b39722