Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2 am: 0b51b97a80

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

Change-Id: I036077615cf23718b6c4f91e6ad2f552f29e8690
This commit is contained in:
Max Bires
2022-02-03 22:05:07 +00:00
committed by Automerger Merge Worker

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.
* },