projects
/
GitHub
/
LineageOS
/
android_hardware_samsung_slsi_exynos5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b99ca
)
Hardware keymaster HAL should not indicate 'software'
author
Kenny Root
<kroot@google.com>
Thu, 29 Nov 2012 19:42:59 +0000
(11:42 -0800)
committer
Kenny 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
patch
|
blob
|
blame
|
history
diff --git
a/libkeymaster/keymaster_mobicore.cpp
b/libkeymaster/keymaster_mobicore.cpp
index b0a4e8dfac8d03afee17c5ff86de291096feed78..0d3a05af5bbbff8149d52fb1c9055bc027d5d221 100644
(file)
--- a/
libkeymaster/keymaster_mobicore.cpp
+++ b/
libkeymaster/keymaster_mobicore.cpp
@@
-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;