summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-03-02 02:06:28 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-03-02 02:06:28 +0000
commitcde27fef7ee67a9b3968663623f3654a6d1a033c (patch)
treee82d8a516245fecc1a1271072d43b43e69a11619
parent9a00222023633b2ab6036ea6a913c6c606a54f26 (diff)
parent248ac03b1482434d005e3d6f85e89245493b12af (diff)
downloadlibhardware-cde27fef7ee67a9b3968663623f3654a6d1a033c.tar.gz
Snap for 7178253 from 248ac03b1482434d005e3d6f85e89245493b12af to sc-d1-release
Change-Id: I66d5cb4a5fd62f30c6c19f4ddbd1ae9a8cb7cb42
-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,