summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:06:53 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:06:53 +0000
commit939566c21bc2fad58a1b2f9e18ed83cef6251e08 (patch)
treed6d2b808da3f8e297f5ff83c3eb0cbde519ccd4d
parentece098ff6a0d5d51683e6a5d040c2a1943d787af (diff)
parent6cb2144e0ee42b8b4a0de66f5c565e3faff09226 (diff)
downloadlibhardware-939566c21bc2fad58a1b2f9e18ed83cef6251e08.tar.gz
Snap for 7152399 from 6cb2144e0ee42b8b4a0de66f5c565e3faff09226 to sc-release
Change-Id: I7b964ad5ec068861c81de8ea457147e87a771fee
-rw-r--r--include/hardware/keymaster_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index f6223ffb..49f65a9a 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -345,7 +345,7 @@ typedef enum {
KM_PURPOSE_DERIVE_KEY = 4, /* Usable with EC keys. */
KM_PURPOSE_WRAP = 5, /* Usable with wrapped keys. */
KM_PURPOSE_AGREE_KEY = 6, /* Usable with EC keys. */
-
+ KM_PURPOSE_ATTEST_KEY = 7 /* Usabe with RSA and EC keys */
} keymaster_purpose_t;
typedef struct {
@@ -510,6 +510,8 @@ typedef enum {
KM_ERROR_UNSUPPORTED_MGF_DIGEST = -79,
KM_ERROR_MISSING_NOT_BEFORE = -80,
KM_ERROR_MISSING_NOT_AFTER = -81,
+ KM_ERROR_MISSING_ISSUER_SUBJECT = -82,
+ KM_ERROR_INVALID_ISSUER_SUBJECT = -83,
KM_ERROR_UNIMPLEMENTED = -100,
KM_ERROR_VERSION_MISMATCH = -101,