Add secdiscard command for secure deletion of files
This is used by LockSettingsService to delete sensitive credential files.
Bug: 34600579
Test: manual - change device lock under synthetic password, verify
old data on disk is erased.
Change-Id: I5e11b559ad8818bd2ad2b321d67d21477aab7555
diff --git a/KeyStorage.h b/KeyStorage.h
index 6186d19..63345f4 100644
--- a/KeyStorage.h
+++ b/KeyStorage.h
@@ -61,6 +61,7 @@
// Securely destroy the key stored in the named directory and delete the directory.
bool destroyKey(const std::string& dir);
+bool runSecdiscardSingle(const std::string& file);
} // namespace vold
} // namespace android