Add digest support and implementation name to getHardwareFeatures.
Test: Manual
Change-Id: I910dea4fab671436fe5eb2ab35a6ffaa86179b35
diff --git a/Keymaster.cpp b/Keymaster.cpp
index 04d504b..ffa3a7a 100644
--- a/Keymaster.cpp
+++ b/Keymaster.cpp
@@ -22,6 +22,7 @@
#include <keystore/keystore_hidl_support.h>
using namespace ::keystore;
+using android::hardware::hidl_string;
namespace android {
namespace vold {
@@ -186,7 +187,8 @@
bool Keymaster::isSecure() {
bool _isSecure = false;
auto rc = mDevice->getHardwareFeatures(
- [&] (bool isSecure, bool, bool, bool) { _isSecure = isSecure; });
+ [&] (bool isSecure, bool, bool, bool, bool, const hidl_string&, const hidl_string&) {
+ _isSecure = isSecure; });
return rc.isOk() && _isSecure;
}