diff options
author | Shawn Willden <swillden@google.com> | 2021-02-17 19:12:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-02-17 19:12:20 +0000 |
commit | 41e68bfb1161a325168d185fe467c8b4ced1d2c9 (patch) | |
tree | 562e67d42cb370a929555da217d673cb9b83a037 | |
parent | ead6cd16d88d5defa5a8f14a75a41a3e6cfce6f5 (diff) | |
parent | 46c5244839c1e8f5b5f1795af129cf7be4397e68 (diff) | |
download | libhardware-41e68bfb1161a325168d185fe467c8b4ced1d2c9.tar.gz |
Merge "Add ATTEST_KEY"android-s-preview-1
-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, |