diff options
author | Shawn Willden <swillden@google.com> | 2021-02-01 08:28:34 -0700 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2021-02-11 07:50:39 -0700 |
commit | 46c5244839c1e8f5b5f1795af129cf7be4397e68 (patch) | |
tree | 562e67d42cb370a929555da217d673cb9b83a037 | |
parent | ead6cd16d88d5defa5a8f14a75a41a3e6cfce6f5 (diff) | |
download | libhardware-46c5244839c1e8f5b5f1795af129cf7be4397e68.tar.gz |
Add ATTEST_KEY
Bug: 171845787
Test: Build
Change-Id: I41451eb35dd0992c049525782e7afb5228ed6b3f
-rw-r--r-- | include/hardware/keymaster_defs.h | 4 |
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, |