summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 240f9e1)
raw | patch | inline | side by side (parent: 240f9e1)
author | Janis Danisevskis <jdanis@google.com> | |
Wed, 26 Apr 2017 22:05:37 +0000 (15:05 -0700) | ||
committer | Jae Shin <jaeshin@google.com> | |
Mon, 16 Oct 2017 00:51:05 +0000 (00:51 +0000) |
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
Merged-In: Ic660586d3d9cfd20022a9c694f276da89e796e5d
(cherry picked from commit 85e15db31987daa6ca36f3f34f13944836822f1b)
Change-Id: I8652f28ac3da1999a774be5e1110c7d2efac5339
libkeymaster_portable.
Also removed UniquePtr usage from keymaster hal.
Bug: 37467707
Test: keymaster vts test and keystore cts test
Merged-In: Ic660586d3d9cfd20022a9c694f276da89e796e5d
(cherry picked from commit 85e15db31987daa6ca36f3f34f13944836822f1b)
Change-Id: I8652f28ac3da1999a774be5e1110c7d2efac5339
keymaster/3.0/default/Android.mk | patch | blob | history | |
keymaster/3.0/default/KeymasterDevice.cpp | patch | blob | history |
index 9df5bf830775130e455d67e0e40d80c3fccc42af..2dbb2000ac89481e4e6b16ad400de0be88259118 100644 (file)
liblog \
libsoftkeymasterdevice \
libcrypto \
- libkeymaster1 \
+ libkeymaster_portable \
+ libkeymaster \
libhidlbase \
libhidltransport \
libutils \
index fcdd32981e54a460ad2bb5bdbe0789c7b4ab6fc9..d83963fcc4511442ff32b04fa5f6e382099fc759 100644 (file)
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;