summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorBram Bonné <brambonne@google.com>2021-01-07 18:29:53 +0100
committerBram Bonné <brambonne@google.com>2021-01-27 10:54:47 +0100
commitb3c666454e217cfdf10dc224261290801299f9c1 (patch)
tree8e9e703514eae62e0d8c3b0e48f9f9e0d8d9d99e /core/java
parentda932b4a453f9fbe3e212aa18d93816d71d9477e (diff)
ECDH SPI interface
Test: atest KeyAgreementTest Bug: 171847641 Change-Id: I7cb0c713e3797bb738a6134c690824e762346d4f
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/security/keymaster/KeymasterDefs.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/security/keymaster/KeymasterDefs.java b/core/java/android/security/keymaster/KeymasterDefs.java
index 017f40521a81..f994d2930cd9 100644
--- a/core/java/android/security/keymaster/KeymasterDefs.java
+++ b/core/java/android/security/keymaster/KeymasterDefs.java
@@ -177,6 +177,7 @@ public final class KeymasterDefs {
public static final int KM_PURPOSE_SIGN = KeyPurpose.SIGN;
public static final int KM_PURPOSE_VERIFY = KeyPurpose.VERIFY;
public static final int KM_PURPOSE_WRAP = KeyPurpose.WRAP_KEY;
+ public static final int KM_PURPOSE_AGREE_KEY = KeyPurpose.AGREE_KEY;
// Key formats.
public static final int KM_KEY_FORMAT_X509 = KeyFormat.X509;