Merge "Add ATTEST_KEY" am: 41e68bfb11
am: a5d7ebd9a3
am: d34829254c
am: 6cb2144e0e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1584435 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib43d50eb153030cfa52757344618983e9e4dcd42
This commit is contained in:
commit
0b7655550d
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue