Delete KM1
Test: Build
Change-Id: Ia4c5359cdf7dfd0ae6569d21ed427fbaa2f2e169
diff --git a/trusty/keymaster/TrustyKeymaster.cpp b/trusty/keymaster/TrustyKeymaster.cpp
index cdfbd90..b903b75 100644
--- a/trusty/keymaster/TrustyKeymaster.cpp
+++ b/trusty/keymaster/TrustyKeymaster.cpp
@@ -112,36 +112,6 @@
ForwardCommand(KM_GET_VERSION, request, response);
}
-void TrustyKeymaster::SupportedAlgorithms(const SupportedAlgorithmsRequest& request,
- SupportedAlgorithmsResponse* response) {
- ForwardCommand(KM_GET_SUPPORTED_ALGORITHMS, request, response);
-}
-
-void TrustyKeymaster::SupportedBlockModes(const SupportedBlockModesRequest& request,
- SupportedBlockModesResponse* response) {
- ForwardCommand(KM_GET_SUPPORTED_BLOCK_MODES, request, response);
-}
-
-void TrustyKeymaster::SupportedPaddingModes(const SupportedPaddingModesRequest& request,
- SupportedPaddingModesResponse* response) {
- ForwardCommand(KM_GET_SUPPORTED_PADDING_MODES, request, response);
-}
-
-void TrustyKeymaster::SupportedDigests(const SupportedDigestsRequest& request,
- SupportedDigestsResponse* response) {
- ForwardCommand(KM_GET_SUPPORTED_DIGESTS, request, response);
-}
-
-void TrustyKeymaster::SupportedImportFormats(const SupportedImportFormatsRequest& request,
- SupportedImportFormatsResponse* response) {
- ForwardCommand(KM_GET_SUPPORTED_IMPORT_FORMATS, request, response);
-}
-
-void TrustyKeymaster::SupportedExportFormats(const SupportedExportFormatsRequest& request,
- SupportedExportFormatsResponse* response) {
- ForwardCommand(KM_GET_SUPPORTED_EXPORT_FORMATS, request, response);
-}
-
void TrustyKeymaster::AddRngEntropy(const AddEntropyRequest& request,
AddEntropyResponse* response) {
ForwardCommand(KM_ADD_RNG_ENTROPY, request, response);
diff --git a/trusty/keymaster/include/trusty_keymaster/TrustyKeymaster.h b/trusty/keymaster/include/trusty_keymaster/TrustyKeymaster.h
index f80e02f..7a1252f 100644
--- a/trusty/keymaster/include/trusty_keymaster/TrustyKeymaster.h
+++ b/trusty/keymaster/include/trusty_keymaster/TrustyKeymaster.h
@@ -27,18 +27,6 @@
~TrustyKeymaster();
int Initialize(KmVersion version);
void GetVersion(const GetVersionRequest& request, GetVersionResponse* response);
- void SupportedAlgorithms(const SupportedAlgorithmsRequest& request,
- SupportedAlgorithmsResponse* response);
- void SupportedBlockModes(const SupportedBlockModesRequest& request,
- SupportedBlockModesResponse* response);
- void SupportedPaddingModes(const SupportedPaddingModesRequest& request,
- SupportedPaddingModesResponse* response);
- void SupportedDigests(const SupportedDigestsRequest& request,
- SupportedDigestsResponse* response);
- void SupportedImportFormats(const SupportedImportFormatsRequest& request,
- SupportedImportFormatsResponse* response);
- void SupportedExportFormats(const SupportedExportFormatsRequest& request,
- SupportedExportFormatsResponse* response);
void AddRngEntropy(const AddEntropyRequest& request, AddEntropyResponse* response);
void Configure(const ConfigureRequest& request, ConfigureResponse* response);
void GenerateKey(const GenerateKeyRequest& request, GenerateKeyResponse* response);