platform: msm_shared: Add delete keys command support
When userdata partition is wiped out or flashed it is necessary
to send a delete keys command to tz.
Change-Id: Ia346fb11246ec020993e01dae09ba7476e3da0b7
diff --git a/include/km_main.h b/include/km_main.h
index 6df90d8..42920d1 100644
--- a/include/km_main.h
+++ b/include/km_main.h
@@ -140,4 +140,27 @@
int status;
}__attribute__ ((packed)) km_set_milestone_rsp_t;
+/*
+ * Structures for delete_all cmd
+ */
+/*
+ @brief
+ Data structure
+
+ @param[in] cmd_id Requested command
+*/
+typedef struct _key_op_delete_all_req_t {
+ uint32 cmd_id;
+}__attribute__ ((packed)) key_op_delete_all_req_t;
+
+/*
+ @brief
+ Data structure
+
+ @param[out] status Status of the request
+*/
+typedef struct _key_op_delete_all_rsp_t {
+ int status;
+}__attribute__ ((packed)) key_op_delete_all_rsp_t;
+
#endif /* KM_MAIN_H */