libkeymaster1 was split into libkeymaster and _portable
libkeyamster1 was split into libkeymaster and libkeymaster_portable. Also removed UniquePtr usage from keymaster hal. Bug: 37467707 Test: keymaster vts test and keystore cts test Change-Id: Ic660586d3d9cfd20022a9c694f276da89e796e5d
This commit is contained in:
parent
7372185739
commit
85e15db319
2 changed files with 4 additions and 3 deletions
|
@ -11,7 +11,8 @@ LOCAL_SHARED_LIBRARIES := \
|
|||
liblog \
|
||||
libsoftkeymasterdevice \
|
||||
libcrypto \
|
||||
libkeymaster1 \
|
||||
libkeymaster_portable \
|
||||
libkeymaster \
|
||||
libhidlbase \
|
||||
libhidltransport \
|
||||
libutils \
|
||||
|
|
|
@ -64,7 +64,7 @@ static int keymaster0_device_initialize(const hw_module_t* mod, keymaster2_devic
|
|||
assert(mod->module_api_version < KEYMASTER_MODULE_API_VERSION_1_0);
|
||||
ALOGI("Found keymaster0 module %s, version %x", mod->name, mod->module_api_version);
|
||||
|
||||
UniquePtr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice);
|
||||
std::unique_ptr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice);
|
||||
keymaster0_device_t* km0_device = NULL;
|
||||
keymaster_error_t error = KM_ERROR_OK;
|
||||
|
||||
|
@ -107,7 +107,7 @@ static int keymaster1_device_initialize(const hw_module_t* mod, keymaster2_devic
|
|||
assert(mod->module_api_version >= KEYMASTER_MODULE_API_VERSION_1_0);
|
||||
ALOGI("Found keymaster1 module %s, version %x", mod->name, mod->module_api_version);
|
||||
|
||||
UniquePtr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice);
|
||||
std::unique_ptr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice);
|
||||
keymaster1_device_t* km1_device = nullptr;
|
||||
keymaster_error_t error = KM_ERROR_OK;
|
||||
|
||||
|
|
Loading…
Reference in a new issue