Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 375f7d74 authored by Janis Danisevskis's avatar Janis Danisevskis
Browse files

KeyMint 1.0: Fix tag type of USER_SECURE_ID.

Test: None
Bug: 174445211
Change-Id: Ic8f346c58db875ee9fe4131f87de8c1bc5e9ec18
parent 321618f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -41,7 +41,7 @@ enum Tag {
  MIN_SECONDS_BETWEEN_OPS = 805306771,
  MIN_SECONDS_BETWEEN_OPS = 805306771,
  MAX_USES_PER_BOOT = 805306772,
  MAX_USES_PER_BOOT = 805306772,
  USER_ID = 805306869,
  USER_ID = 805306869,
  USER_SECURE_ID = 1073742326,
  USER_SECURE_ID = -1610612234,
  NO_AUTH_REQUIRED = 1879048695,
  NO_AUTH_REQUIRED = 1879048695,
  USER_AUTH_TYPE = 268435960,
  USER_AUTH_TYPE = 268435960,
  AUTH_TIMEOUT = 805306873,
  AUTH_TIMEOUT = 805306873,
+1 −1
Original line number Original line Diff line number Diff line
@@ -355,7 +355,7 @@ enum Tag {
     *
     *
     * Must be hardware-enforced.
     * Must be hardware-enforced.
     */
     */
    USER_SECURE_ID = (4 << 28) | 502, /* TagType:UINT_REP */
    USER_SECURE_ID = (10 << 28) | 502, /* TagType:ULONG_REP */


    /**
    /**
     * Tag::NO_AUTH_REQUIRED specifies that no authentication is required to use this key.  This tag
     * Tag::NO_AUTH_REQUIRED specifies that no authentication is required to use this key.  This tag