Revert "Add new purpose to the HAL layer."
This reverts commit ee2f29de40a45a3d4660aacf02bca99f1aa134f5.
Reason for revert: Remove partial support for wrapped key import
Change-Id: Iefb57c910a3d05fa9e2c9660c2ac236c2ecc9cc0
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index 5800019..f557ec1 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -291,7 +291,6 @@
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 {