summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2015-03-14 08:35:57 -0600
committerShawn Willden <swillden@google.com>2015-03-14 10:50:32 -0600
commit7714a9413f1a170de4be3726618fbbdf9ff609f3 (patch)
tree94226e2967b767a0de9010c8397f6f2a7c8fa4c9 /core
parent9aeb080eec2286e8604901bd2b8248be4e527107 (diff)
downloadframeworks_base-7714a9413f1a170de4be3726618fbbdf9ff609f3.zip
frameworks_base-7714a9413f1a170de4be3726618fbbdf9ff609f3.tar.gz
frameworks_base-7714a9413f1a170de4be3726618fbbdf9ff609f3.tar.bz2
Add support for KM_TAG_USER_SECURE_ID.
Change-Id: I629ab2c47ee6d42de20a963ef283e330364c8ee7
Diffstat (limited to 'core')
-rw-r--r--core/java/android/security/keymaster/KeymasterDefs.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/java/android/security/keymaster/KeymasterDefs.java b/core/java/android/security/keymaster/KeymasterDefs.java
index 88cad79..3e94068 100644
--- a/core/java/android/security/keymaster/KeymasterDefs.java
+++ b/core/java/android/security/keymaster/KeymasterDefs.java
@@ -37,6 +37,7 @@ public final class KeymasterDefs {
public static final int KM_BOOL = 7 << 28;
public static final int KM_BIGNUM = 8 << 28;
public static final int KM_BYTES = 9 << 28;
+ public static final int KM_LONG_REP = 10 << 28;
// Tag values.
public static final int KM_TAG_INVALID = KM_INVALID | 0;
@@ -66,9 +67,10 @@ public final class KeymasterDefs {
public static final int KM_TAG_ALL_USERS = KM_BOOL | 500;
public static final int KM_TAG_USER_ID = KM_INT | 501;
- public static final int KM_TAG_NO_AUTH_REQUIRED = KM_BOOL | 502;
- public static final int KM_TAG_USER_AUTH_ID = KM_INT_REP | 503;
- public static final int KM_TAG_AUTH_TIMEOUT = KM_INT | 504;
+ public static final int KM_TAG_USER_SECURE_ID = KM_LONG_REP | 502;
+ public static final int KM_TAG_NO_AUTH_REQUIRED = KM_BOOL | 503;
+ public static final int KM_TAG_USER_AUTH_ID = KM_INT_REP | 504;
+ public static final int KM_TAG_AUTH_TIMEOUT = KM_INT | 505;
public static final int KM_TAG_ALL_APPLICATIONS = KM_BOOL | 600;
public static final int KM_TAG_APPLICATION_ID = KM_BYTES | 601;