summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-03-02 02:07:28 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-03-02 02:07:28 +0000
commit17e7fb2e33f0a91214412961f63f243678eb5ab6 (patch)
treee82d8a516245fecc1a1271072d43b43e69a11619
parente3ef5fc61812889a2db2c10c2068da8b85626962 (diff)
parent248ac03b1482434d005e3d6f85e89245493b12af (diff)
Snap for 7178253 from 248ac03b1482434d005e3d6f85e89245493b12af to sc-v2-release
Change-Id: I99c48f6110f735c35a98a2a630e383367b0eae62
-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,