summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shawn Willden <swillden@google.com> 2015-04-28 00:05:03 -0600
committer Shawn Willden <swillden@google.com> 2015-04-28 00:07:20 -0600
commit5b8352bd166eaa88fa23a0575e5f2585d1c7a3b0 (patch)
tree1997b6f4c67bcfda93a81f5ad04e671b47574964
parentc29791d56abbbbaef9786f5d25ecc6c32975bd9f (diff)
Add missing error codes from keymaster_defs.h.
Bug: 20127433 Change-Id: I32eab62459003c526d3cf9ef108be7b2fd709960
-rw-r--r--core/java/android/security/keymaster/KeymasterDefs.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/security/keymaster/KeymasterDefs.java b/core/java/android/security/keymaster/KeymasterDefs.java
index 25ebe759421e..574b2080d373 100644
--- a/core/java/android/security/keymaster/KeymasterDefs.java
+++ b/core/java/android/security/keymaster/KeymasterDefs.java
@@ -193,6 +193,9 @@ public final class KeymasterDefs {
public static final int KM_ERROR_UNSUPPORTED_EC_FIELD = -50;
public static final int KM_ERROR_MISSING_NONCE = -51;
public static final int KM_ERROR_INVALID_NONCE = -52;
+ public static final int KM_ERROR_UNSUPPORTED_CHUNK_LENGTH = -53;
+ public static final int KM_ERROR_RESCOPABLE_KEY_NOT_USABLE = -54;
+ public static final int KM_ERROR_CALLER_NONCE_PROHIBITED = -55;
public static final int KM_ERROR_UNIMPLEMENTED = -100;
public static final int KM_ERROR_VERSION_MISMATCH = -101;
public static final int KM_ERROR_UNKNOWN_ERROR = -1000;