Hardware keymaster HAL should not indicate 'software'
authorKenny Root <kroot@google.com>
Thu, 29 Nov 2012 19:42:59 +0000 (11:42 -0800)
committerKenny Root <kroot@google.com>
Thu, 14 Feb 2013 23:41:26 +0000 (15:41 -0800)
Remove the 'software' flag so that keystore knows that this is a
hardware implementation.

Bug: 7106634
Change-Id: I1eef2d3564dc4e687644bd156694c893cc9a8e8d

libkeymaster/keymaster_mobicore.cpp

index b0a4e8dfac8d03afee17c5ff86de291096feed78..0d3a05af5bbbff8149d52fb1c9055bc027d5d221 100644 (file)
@@ -432,7 +432,7 @@ static int exynos_km_open(const hw_module_t* module, const char* name,
     dev->common.module = (struct hw_module_t*) module;
     dev->common.close = exynos_km_close;
 
-    dev->flags = KEYMASTER_SOFTWARE_ONLY;
+    dev->flags = 0;
 
     dev->generate_keypair = exynos_km_generate_keypair;
     dev->import_keypair = exynos_km_import_keypair;