From: Kenny Root Date: Thu, 29 Nov 2012 19:42:59 +0000 (-0800) Subject: Hardware keymaster HAL should not indicate 'software' X-Git-Tag: cm-10.2-M1^2~22^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8f5f3e087df4825e30e25cb4bdd7daa02c73e65;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_exynos5.git Hardware keymaster HAL should not indicate 'software' Remove the 'software' flag so that keystore knows that this is a hardware implementation. Bug: 7106634 Change-Id: I1eef2d3564dc4e687644bd156694c893cc9a8e8d --- diff --git a/libkeymaster/keymaster_mobicore.cpp b/libkeymaster/keymaster_mobicore.cpp index b0a4e8d..0d3a05a 100644 --- 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;