From 520cf0be24cd833078f1e37b1e4acda5080fd92b Mon Sep 17 00:00:00 2001 From: Crystal Qin Date: Wed, 4 Jan 2017 14:09:11 -0800 Subject: [PATCH] Add the new key purpose to types.hal as well. Test: There will be a cts test cl submitted together. Change-Id: I8a84f10b8963001a24afe089ae79bedea00f8564 --- keymaster/3.0/types.hal | 1 + 1 file changed, 1 insertion(+) diff --git a/keymaster/3.0/types.hal b/keymaster/3.0/types.hal index e99e9c8d6a..7123e5702c 100644 --- a/keymaster/3.0/types.hal +++ b/keymaster/3.0/types.hal @@ -241,6 +241,7 @@ enum KeyPurpose : uint32_t { SIGN = 2, /* Usable with RSA, EC and HMAC keys. */ VERIFY = 3, /* Usable with RSA, EC and HMAC keys. */ DERIVE_KEY = 4, /* Usable with EC keys. */ + WRAP_KEY = 5, /* Usable with wrapping keys. */ }; /**