summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@google.com>2021-01-25 13:09:36 -0500
committerDavid Zeuthen <zeuthen@google.com>2021-01-25 13:23:51 -0500
commit3107e47dfc5966cbb301f97a9c0577a18fd22666 (patch)
tree9831decdd76a17f1618d1452ee68ca2472c392ef /include
parent29ae34bcde8608bd3c7e572f0c1cd9f678fb0df9 (diff)
Add KM_PURPOSE_AGREE_KEY constant.
Test: VtsAidlKeyMintTargetTest Bug: 171847641 Change-Id: I9e3128652767509911445491248c01953359cb67
Diffstat (limited to 'include')
-rw-r--r--include/hardware/keymaster_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index f2deb72a..5d29a243 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -330,6 +330,7 @@ typedef enum {
KM_PURPOSE_VERIFY = 3, /* Usable with RSA, EC and HMAC keys. */
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. */
} keymaster_purpose_t;