Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2 am: 0b51b97a80 am: d731deda2e am: 649b0b6ba5

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971499

Change-Id: I771bae65fab08b1ba78b3626229aa66f300c7db4
This commit is contained in:
Max Bires 2022-02-03 22:28:16 +00:00 committed by Automerger Merge Worker
commit bfd607145c

View file

@ -37,10 +37,10 @@ parcelable MacedPublicKey {
*
* PublicKey = { // COSE_Key
* 1 : 2, // Key type : EC2
* 3 : -8 // Algorithm : ES256
* -1 : 6, // Curve : P256
* -2 : bstr // X coordinate, little-endian
* -3 : bstr // Y coordinate, little-endian
* 3 : -7, // Algorithm : ES256
* -1 : 1, // Curve : P256
* -2 : bstr, // X coordinate, little-endian
* -3 : bstr, // Y coordinate, little-endian
* ? -70000 : nil // Presence indicates this is a test key. If set, K_mac is
* // all zeros.
* },