mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
Fixing spec discrepancy in MacedPublicKey
The algorithm choice was listed as -8 for ES256, when it should be -7. Fixes: 217691766 Test: Everyone harmoniously agrees by +2'ing. Change-Id: I7f73efff42ee6d2b3bfb94b74c1208170805b870
This commit is contained in:
@@ -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.
|
||||
* },
|
||||
|
||||
Reference in New Issue
Block a user