summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-03-11 19:08:59 +0000
committerScott Lobdell <slobdell@google.com>2021-03-11 19:08:59 +0000
commite6a22ae79a0293810076e64b457267f4d692d339 (patch)
tree25882179a5ecdd7f9dfc31e8c9ef92e5f3484fe9
parent273e9d60eef4e96aa7cab4c2250ce6cfb6d5bc8f (diff)
parentd1cdb38f103c6bf8bcb34059c7f34070ac6f67b4 (diff)
Merge SP1A.210311.001
Change-Id: I665b43a5d8fb2238f332e1c8f05efb1c2f95eab7
-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,