summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-04-16 19:50:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-16 19:50:12 +0000
commit499126c43385ba7bce9b8547b61bafd0c6311147 (patch)
tree98a30f4f41f1ddab3097683ccf9dc568503f03a2 /core
parent14a982aa7a38fa89c916c252996632d401b1d043 (diff)
parent45d27836bde9e641a57b69a1502924a29b9b3bf1 (diff)
downloadframeworks_base-499126c43385ba7bce9b8547b61bafd0c6311147.zip
frameworks_base-499126c43385ba7bce9b8547b61bafd0c6311147.tar.gz
frameworks_base-499126c43385ba7bce9b8547b61bafd0c6311147.tar.bz2
Merge "Add Keymaster KM_ORIGIN_UNKNOWN constant."
Diffstat (limited to 'core')
-rw-r--r--core/java/android/security/keymaster/KeymasterDefs.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/security/keymaster/KeymasterDefs.java b/core/java/android/security/keymaster/KeymasterDefs.java
index 46a04b1..25ebe75 100644
--- a/core/java/android/security/keymaster/KeymasterDefs.java
+++ b/core/java/android/security/keymaster/KeymasterDefs.java
@@ -118,9 +118,9 @@ public final class KeymasterDefs {
public static final int KM_DIGEST_SHA_2_512 = 6;
// Key origins.
- public static final int KM_ORIGIN_HARDWARE = 0;
- public static final int KM_ORIGIN_SOFTWARE = 1;
+ public static final int KM_ORIGIN_GENERATED = 0;
public static final int KM_ORIGIN_IMPORTED = 2;
+ public static final int KM_ORIGIN_UNKNOWN = 3;
// Key usability requirements.
public static final int KM_BLOB_STANDALONE = 0;