From 5b8352bd166eaa88fa23a0575e5f2585d1c7a3b0 Mon Sep 17 00:00:00 2001 From: Shawn Willden Date: Tue, 28 Apr 2015 00:05:03 -0600 Subject: [PATCH] Add missing error codes from keymaster_defs.h. Bug: 20127433 Change-Id: I32eab62459003c526d3cf9ef108be7b2fd709960 --- core/java/android/security/keymaster/KeymasterDefs.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/java/android/security/keymaster/KeymasterDefs.java b/core/java/android/security/keymaster/KeymasterDefs.java index 25ebe759421eb..574b2080d3731 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;