From ee2f29de40a45a3d4660aacf02bca99f1aa134f5 Mon Sep 17 00:00:00 2001 From: Crystal Qin Date: Tue, 3 Jan 2017 16:54:26 -0800 Subject: [PATCH] Add new purpose to the HAL layer. Test: There will be a CTS test CL. Change-Id: Ic623b7be8949fe0adb3706958a9be59f267057c4 --- include/hardware/keymaster_defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h index 323b7ddc..fbedc159 100644 --- a/include/hardware/keymaster_defs.h +++ b/include/hardware/keymaster_defs.h @@ -279,6 +279,7 @@ typedef enum { KM_PURPOSE_SIGN = 2, /* Usable with RSA, EC and HMAC keys. */ KM_PURPOSE_VERIFY = 3, /* Usable with RSA, EC and HMAC keys. */ KM_PURPOSE_DERIVE_KEY = 4, /* Usable with EC keys. */ + KM_PURPOSE_WRAP_KEY = 5, /* Usable with wrapping keys. */ } keymaster_purpose_t; typedef struct {