Add the new key purpose to types.hal as well.

Test: There will be a cts test cl submitted together.
Change-Id: I8a84f10b8963001a24afe089ae79bedea00f8564
This commit is contained in:
Crystal Qin
2017-01-04 14:09:11 -08:00
parent 6e3cb80c19
commit 520cf0be24

View File

@@ -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. */
};
/**