Rebuild Haystack and Store L3 Keybox in /data/vendor
am: 76d3ca9091
Change-Id: Ib61e1b2b3ff01addb9bedbbe3d434db337861c6d
This commit is contained in:
@@ -432,9 +432,9 @@ class Adapter {
|
||||
std::string base_path;
|
||||
wvcdm::Properties::GetDeviceFilesBasePath(wvcdm::kSecurityLevelL3,
|
||||
&base_path);
|
||||
bool is_in_app = Level3_IsInApp(base_path.c_str());
|
||||
OEMCryptoResult result = Level3_Initialize(clear_cache_function);
|
||||
if (is_in_app) {
|
||||
OEMCryptoResult result = Level3_Initialize(clear_cache_function,
|
||||
base_path.c_str());
|
||||
if (Level3_IsInApp()) {
|
||||
M_RECORD(
|
||||
&metrics,
|
||||
oemcrypto_initialization_mode_,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -79,8 +79,9 @@ namespace wvoec3 {
|
||||
#define Level3_CreateOldUsageEntry _lcc70
|
||||
extern "C" {
|
||||
|
||||
bool Level3_IsInApp(const char* path);
|
||||
OEMCryptoResult Level3_Initialize(void (*ClearCache)(void *, size_t));
|
||||
bool Level3_IsInApp();
|
||||
OEMCryptoResult Level3_Initialize(void (*ClearCache)(void *, size_t),
|
||||
const char* base_path);
|
||||
OEMCryptoResult Level3_Terminate(void);
|
||||
OEMCryptoResult Level3_OpenSession(OEMCrypto_SESSION *session);
|
||||
OEMCryptoResult Level3_CloseSession(OEMCrypto_SESSION session);
|
||||
|
||||
Reference in New Issue
Block a user