KeyMint 1.0: Fix tag type of USER_SECURE_ID.

Test: None
Bug: 174445211
Change-Id: Ic8f346c58db875ee9fe4131f87de8c1bc5e9ec18
This commit is contained in:
Janis Danisevskis
2020-11-30 00:09:08 -08:00
parent 321618f711
commit 375f7d743d
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ enum Tag {
MIN_SECONDS_BETWEEN_OPS = 805306771,
MAX_USES_PER_BOOT = 805306772,
USER_ID = 805306869,
USER_SECURE_ID = 1073742326,
USER_SECURE_ID = -1610612234,
NO_AUTH_REQUIRED = 1879048695,
USER_AUTH_TYPE = 268435960,
AUTH_TIMEOUT = 805306873,

View File

@@ -355,7 +355,7 @@ enum Tag {
*
* 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