Add digest support and implementation name to getHardwareFeatures
Test: Manual
Change-Id: Iee20528e8d4f3931164aa988e11bfe71be4f56dc
diff --git a/keystore/keystore.cpp b/keystore/keystore.cpp
index f7695c5..32667e0 100644
--- a/keystore/keystore.cpp
+++ b/keystore/keystore.cpp
@@ -481,13 +481,15 @@
}
bool KeyStore::isHardwareBacked(const android::String16& /*keyType*/) const {
+ using ::android::hardware::hidl_string;
if (mDevice == NULL) {
ALOGW("can't get keymaster device");
return false;
}
bool isSecure = false;
- auto hidlcb = [&] (bool _isSecure, bool, bool, bool) {
+ auto hidlcb = [&] (bool _isSecure, bool, bool, bool, bool, const hidl_string&,
+ const hidl_string&) {
isSecure = _isSecure;
};
auto rc = mDevice->getHardwareFeatures(hidlcb);