Move hardware module methods to libsoftkeymanager
This allows keystore to create a keystore_device for the softkeymanager
and use that instead of calling the openssl_* methods directly.
Change-Id: I232e4ff9ff2b498465d7d3e566e3c4a883ced0c0
diff --git a/softkeymaster/include/keymaster/softkeymaster.h b/softkeymaster/include/keymaster/softkeymaster.h
index f304aed..17d1389 100644
--- a/softkeymaster/include/keymaster/softkeymaster.h
+++ b/softkeymaster/include/keymaster/softkeymaster.h
@@ -38,4 +38,7 @@
const size_t signedDataLength, const uint8_t* signature,
const size_t signatureLength);
+int openssl_open(const hw_module_t* module, const char* name, hw_device_t** device);
+
+struct keystore_module softkeymaster_module;
#endif // SOFTKEYMASTER_INCLUDE_KEYMASTER_SOFTKEYMASTER_H_