summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-03-02 02:07:24 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-03-02 02:07:24 +0000
commitd1cdb38f103c6bf8bcb34059c7f34070ac6f67b4 (patch)
treee82d8a516245fecc1a1271072d43b43e69a11619
parent96aa236b126210ec18d111a9aab1f4d4a319617b (diff)
parent248ac03b1482434d005e3d6f85e89245493b12af (diff)
downloadlibhardware-d1cdb38f103c6bf8bcb34059c7f34070ac6f67b4.tar.gz
Snap for 7178253 from 248ac03b1482434d005e3d6f85e89245493b12af to sc-release
Change-Id: I85d8db358a01643c91730b0acc3d4e6d9c7f260c
-rw-r--r--include/hardware/keymaster_defs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index 49f65a9a..c0b3800e 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -212,8 +212,8 @@ typedef enum {
The value should interpreted as too's
complement signed integer. Negative values
indicate dates before Jan 1970 */
-
-
+ KM_TAG_MAX_BOOT_LEVEL = KM_UINT | 1010, /* Specifies a maximum boot level at which a key
+ should function. */
} keymaster_tag_t;
/**
@@ -512,6 +512,7 @@ typedef enum {
KM_ERROR_MISSING_NOT_AFTER = -81,
KM_ERROR_MISSING_ISSUER_SUBJECT = -82,
KM_ERROR_INVALID_ISSUER_SUBJECT = -83,
+ KM_ERROR_BOOT_LEVEL_EXCEEDED = -84,
KM_ERROR_UNIMPLEMENTED = -100,
KM_ERROR_VERSION_MISMATCH = -101,