summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2015-04-07 13:48:27 -0600
committerShawn Willden <swillden@google.com>2015-04-09 12:31:18 -0600
commitcd640d125f389576f15af75101dd2b372e907aca (patch)
treee5268a3cb3cadfb859306d3d79e6dd8e435beaea
parent8412fdc42866b4d5c07370f06c2767a4cad5c23a (diff)
downloadhardware_libhardware-cd640d125f389576f15af75101dd2b372e907aca.zip
hardware_libhardware-cd640d125f389576f15af75101dd2b372e907aca.tar.gz
hardware_libhardware-cd640d125f389576f15af75101dd2b372e907aca.tar.bz2
Reduce the list of keymaster key formats to the required set.
Change-Id: I3a0830ab2066d4c16c084d19040ec98e520896d4
-rw-r--r--include/hardware/keymaster_defs.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index ba61aa9..31a487e 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -274,10 +274,9 @@ typedef struct {
* In the future this list will expand greatly to accommodate asymmetric key import/export.
*/
typedef enum {
- KM_KEY_FORMAT_X509 = 0, /* for public key export, required */
- KM_KEY_FORMAT_PKCS8 = 1, /* for asymmetric key pair import, required */
- KM_KEY_FORMAT_PKCS12 = 2, /* for asymmetric key pair import, not required */
- KM_KEY_FORMAT_RAW = 3, /* for symmetric key import, required */
+ KM_KEY_FORMAT_X509 = 0, /* for public key export */
+ KM_KEY_FORMAT_PKCS8 = 1, /* for asymmetric key pair import */
+ KM_KEY_FORMAT_RAW = 3, /* for symmetric key import */
} keymaster_key_format_t;
/**